You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But this didn't work for me--since style is an object like { button: 'button-1jq92' }, style.button is a string and can't be used to override the default theme.
The
README.md
shows this example where a theme is passed in as a prop to override the default theme:But this didn't work for me--since
style
is an object like{ button: 'button-1jq92' }
,style.button
is a string and can't be used to override the default theme.I had to do something like this:
or just
theme={style}
.Am I missing something, or is this a mistake in that example?
The text was updated successfully, but these errors were encountered: