Replies: 1 comment
-
|
classList={{ [styles.TestCSSClass]: current() }} Test it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With css module, the class name becomes styles.ClassName, but this can't be used in a classList binding:
styles.TestCSSClassis not a legit name for the classList binding, what should I do?Beta Was this translation helpful? Give feedback.
All reactions