Created
April 2, 2019 19:31
-
-
Save toto011/36d906e6910bb8ad895957a9ee009964 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const customStyles = { | |
control: (base, state) => ({ | |
...base, | |
boxShadow: "none" | |
// You can also use state.isFocused to conditionally style based on the focus state | |
}) | |
}; | |
function SelectWrapped(props) { | |
return ( | |
<Select styles={customStyles} /> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment