How to use JSS in TypeScript React Class component? #1581
Unanswered
akshaykadambatt
asked this question in
Q&A
Replies: 0 comments
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.
-
I've done it like this. Am I correct?
This only works when I give
Otherwise I get the error;
Property 'classes' does not exist on type 'Readonly<ComponentProps> & Readonly<{ children?: ReactNode; }>'.ts(2339)
Whats wrong here? Or is this even the correct way of using JSS in class components?
Beta Was this translation helpful? Give feedback.
All reactions