feat: implement multi token select component

This commit is contained in:
fragosti
2018-11-30 10:25:36 -08:00
parent f1354632a1
commit e65096ee7a
8 changed files with 156 additions and 46 deletions

View File

@@ -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