APIs
style prop
Accepts a CSS property object rather than an HTML style string. Most ordinary property names use camelCase; numeric length values generally become pixels except unitless properties.
Formal Syntax & Structure
react syntaxreact
style propWorking Example
Example Snippetreact
<p style={{ padding: 8, fontWeight: "bold" }}>Ready</p>