We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get this warning when I use the style prop
Style prop value must be an object
would it be correct to have a prop className?
The text was updated successfully, but these errors were encountered:
As documentation says for style property:
style
Appends the provided value to the switch button's class attribute. Use this to apply custom styles to the switch button.
I think it should have been called className or something. It happened to me the same when I tried to add inline styles.
Sorry, something went wrong.
Some people have already tried to solve it in: #12 #28
No branches or pull requests
I get this warning when I use the style prop
Style prop value must be an object
would it be correct to have a prop className?
The text was updated successfully, but these errors were encountered: