Inline Styling
1. To style an element with the inline style attribute, the value must be
a JavaScript object:
2. camelCased Property Names
3. JavaScript Object
You can also create an object with styling information,
and refer to it in the style attribute:
You can write your CSS styling in a separate file,
just save the file with the .css file extension,
and import it in your application.
Styling Component Inline Style in React JS (Hindi)
Styling Component CSS Module in React JS (Hindi)