-
I would like to style |
Beta Was this translation helpful? Give feedback.
Answered by
csandman
Jun 28, 2024
Replies: 1 comment
-
Yeah, the easiest way to style it would be to use the <Select
chakraStyles={{
option: (base) => ({
...base,
backgroundColor: 'blue.200',
}),
}}
/> Here's a demo: https://stackblitz.com/edit/vitejs-vite-qd93qr?file=src%2Fapp.tsx |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dzienisz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, the easiest way to style it would be to use the
chakraStyles
prop. Even if you're using a custom wrapper for it, thechakraStyles
will still apply.Here's a demo: https://stackblitz.com/edit/vitejs-vite-qd93qr?file=src%2Fapp.tsx