classNames not overriding base styles #5695
Unanswered
gopal-amlekar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to use custom styles for Select component with the classNames prop. However, I am not able to override the base styles. It happens that I have to use the
unstyled
prop only and then my custom styles work. But then that removes all the original styles. My attempt is to override only some styles as needed. I think that should be possible as per the classNames documentation here.Here is my code below (Sandbox link)
My ultimate goal is to use Tailwind css but since it didn't work I tried to do the simple example as above. Is that a bug in my code or something?
Beta Was this translation helpful? Give feedback.
All reactions