Answer the question
In order to leave comments, you need to log in
How to use css modifiers with css modules?
There is a Button component (base), which I expand with the SubmitButton component, passing styles as props, and then I want to use this css module.
Question, how to use two css modules in className? Example:
<a href={'#'} className={Button.someStyle SubmitButton.someStyle}>
Отправить
</a>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question