Skip to content

Instantly share code, notes, and snippets.

@toto011
Created April 2, 2019 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toto011/36d906e6910bb8ad895957a9ee009964 to your computer and use it in GitHub Desktop.
Save toto011/36d906e6910bb8ad895957a9ee009964 to your computer and use it in GitHub Desktop.
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