fix(devui): fix style of Select

This commit is contained in:
Nathan Bierema 2021-06-06 16:01:57 -04:00
parent 950021cf7b
commit b623e0f9b1

View File

@ -44,6 +44,18 @@ export class Select extends (PureComponent || Component)<SelectProps> {
controlHeight: this.props.theme.inputHeight, controlHeight: this.props.theme.inputHeight,
}, },
})} })}
styles={{
container: (base, props) => ({
...base,
flexGrow: 1,
}),
control: (base, props) => ({
...base,
backgroundColor: props.isDisabled
? props.theme.colors.neutral10
: props.theme.colors.neutral5,
}),
}}
/> />
); );
} }