-
Notifications
You must be signed in to change notification settings - Fork 67
Multiple class not working #90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
did you pass the theme to you appBar? what is the 'App Example'?
EDIT: if AppBar has a 'disabled' class defined, that is. Otherwise what you want to do is |
Yes. I just updated my question since I did not see that my code was not showing properly. |
in your example you are not using themr at all. This is a question for react-toolbox. You need to pass theme.disabled, check their docs http://react-toolbox.io/#/components/app_bar do |
Also, you need to configure sassLoader
|
Thanks. I understand I do not use themr, but React-Toolbox is using it. May question was really about why adding the disabled className manually was not working as expected. I was able to make it work by using className={theme.disabled} but I had to declare the .disable class separately in the css. I appreciate your time. |
Hi,
I am using the React-Toolbox and I understood that it uses the react-css-themr behind the scene.
I am trying to add a class dynamically to do the styling but it is not working as expected.
My react code:
My css file:
The AppBar is blue and the hover is working. However since the disabled class is added I would expect the color to be gray.
Thanks.
The text was updated successfully, but these errors were encountered: