DEV Community

Discussion on: How to connect CSS files to React components

Collapse
andrisladuzans profile image
Andris Laduzans

this compiles? shouldnt you use 'className' instead of 'class' in react?

Collapse
joellehelm profile image
Joelle Author

You're definitely right. It should be className instead of class.