-
Hi! I've found your styling in src/styles/dropdown.sass, however I'm not sure how to target the classnames for custom syling.
In css file I'm not able to target tha individual classes by this syntax
as you mention one should in your Readme file "Note that styles prop is meant for basic styling. Use stylesheet by targeting the specific class names for more complicated stylings.". How should one target elements to make more complicated styling? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey Helene, These components do not pass down the Keep in mind that in some cases you might possibly need to use Check out this example. |
Beta Was this translation helpful? Give feedback.
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.