diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-12-01 02:25:36 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-12-01 02:25:36 +0800 |
commit | e65096ee7af7c6d442b5e106db0a07652cc5e047 (patch) | |
tree | e43fba0c7aab2154e9c7d21817aa014088c71334 /packages/website/ts/components/ui/select.tsx | |
parent | f1354632a1a2915159f6d662f90b68fe8c3bab38 (diff) | |
download | dexon-sol-tools-e65096ee7af7c6d442b5e106db0a07652cc5e047.tar dexon-sol-tools-e65096ee7af7c6d442b5e106db0a07652cc5e047.tar.gz dexon-sol-tools-e65096ee7af7c6d442b5e106db0a07652cc5e047.tar.bz2 dexon-sol-tools-e65096ee7af7c6d442b5e106db0a07652cc5e047.tar.lz dexon-sol-tools-e65096ee7af7c6d442b5e106db0a07652cc5e047.tar.xz dexon-sol-tools-e65096ee7af7c6d442b5e106db0a07652cc5e047.tar.zst dexon-sol-tools-e65096ee7af7c6d442b5e106db0a07652cc5e047.zip |
feat: implement multi token select component
Diffstat (limited to 'packages/website/ts/components/ui/select.tsx')
-rw-r--r-- | packages/website/ts/components/ui/select.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/website/ts/components/ui/select.tsx b/packages/website/ts/components/ui/select.tsx index abf202c67..743b082b0 100644 --- a/packages/website/ts/components/ui/select.tsx +++ b/packages/website/ts/components/ui/select.tsx @@ -62,6 +62,7 @@ export class Select extends React.Component<SelectProps, SelectState> { cursor={hasItems ? 'pointer' : undefined} onClick={this._handleDropdownClick} borderRadius={borderRadius} + hasBoxShadow={isOpen} border={border} backgroundColor={backgroundColor} padding="0.8em" @@ -94,6 +95,7 @@ export class Select extends React.Component<SelectProps, SelectState> { position="absolute" onClick={this._closeDropdown} zIndex={zIndex.aboveOverlay} + hasBoxShadow={true} > {_.map(items, (item, index) => ( <SelectItem |