make search green on focus

This commit is contained in:
Abhinav-grd 2021-05-25 15:59:10 +05:30
parent 6b1d3a744a
commit c93ae99139

View file

@ -171,7 +171,12 @@ export default function SearchBar(props: Props) {
);
const ControlWithIcon = (props) => (
<Control {...props}>
<span style={{ paddingLeft: '10px' }}>
<span
style={{
paddingLeft: '10px',
color: props.isFocused && '#2dc262',
}}
>
<SearchIcon />
</span>
{props.children}
@ -213,7 +218,7 @@ export default function SearchBar(props: Props) {
}),
clearIndicator: (style) => ({
...style,
':hover': { color: '#d2d2d2', cursor: 'pointer' },
display: 'none',
}),
singleValue: (style) => ({
...style,