HTML to JSX
Steps
-
All prop names follow camelCase capitalization.
-
Number attributes are curly braces
-
Booleans of ‘true’ can be written with just the property name
-
The ‘class’ attribute is written as ‘className’
-
In-line styles are provided as objects