diff options
author | Francesco Agosti <francesco.agosti93@gmail.com> | 2018-11-02 04:57:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-02 04:57:29 +0800 |
commit | 0955feb0234bc90b7dcf5ad3a308570c9fa5d490 (patch) | |
tree | 623c55dddb6326cf8998619da25a82c48b87f876 /packages/instant/src/components/ui/flex.tsx | |
parent | 44a34ee541f2c350b65005a1430072ed90fbc790 (diff) | |
parent | 935e5da78e14f78685ad9270c19f473fa193d542 (diff) | |
download | dexon-0x-contracts-0955feb0234bc90b7dcf5ad3a308570c9fa5d490.tar.gz dexon-0x-contracts-0955feb0234bc90b7dcf5ad3a308570c9fa5d490.tar.zst dexon-0x-contracts-0955feb0234bc90b7dcf5ad3a308570c9fa5d490.zip |
Merge pull request #1201 from 0xProject/feature/instant/basic-token-modal
[instant] Add `Select Token` mode, animation abstractions, and basic token selection panel
Diffstat (limited to 'packages/instant/src/components/ui/flex.tsx')
-rw-r--r-- | packages/instant/src/components/ui/flex.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/ui/flex.tsx b/packages/instant/src/components/ui/flex.tsx index 5fa3fc95b..29c6511bb 100644 --- a/packages/instant/src/components/ui/flex.tsx +++ b/packages/instant/src/components/ui/flex.tsx @@ -9,14 +9,14 @@ export interface FlexProps { width?: string; height?: string; backgroundColor?: ColorOption; - className?: string; + inline?: boolean; } export const Flex = styled.div < FlexProps > ` - display: flex; + display: ${props => (props.inline ? 'inline-flex' : 'flex')}; flex-direction: ${props => props.direction}; flex-wrap: ${props => props.flexWrap}; justify-content: ${props => props.justify}; |