Skip to content

Styling dropdown components #29

Answered by dbilgili
helebo asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Helene,

These components do not pass down the className prop. So, using it has no effect.
You should import a styling file which targets the class names directly. Note that I am not using css modules here, instead injecting the css directly.

Keep in mind that in some cases you might possibly need to use !important to override stylings.

Check out this example.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by helebo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants