Purecode | Crafting Styles with JavaScript Objects
Inline styles in React are not written as strings as in traditional CSS. Instead, they apply using a JavaScript object. The keys in this object must be camelCased versions of the CSS style names and numeric values are assumed to be pixels.














