I can not remove following warning in react code. "Attribute className is not allowed here". 


Languages & Frameworks > JavaScript > Libraries

Can you help me I have warnings for every attribute in jsx. Editor is set jsx harmony.
My problem with warnings in jsx was solved by instaling React-Template plugin.
 
You should add Reactjs library.
Using Reactjs in JavaScript and TypeScript
In my case, I've just added Reactjs support for TypeScript:

I'm a little late on the scene but performing Invalidate Caches/Restart... solved the issue (after switching to JSX Harmony).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With