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
-
With css module, the class name becomes styles.ClassName, but this can't be used in a classList binding:
styles.TestCSSClass
is not a legit name for the classList binding, what should I do?Beta Was this translation helpful? Give feedback.
All reactions