Category: jsx

CSS

CSS2JS

To add inline styles on an element in JSX, you have to do it in this object syntax, like: <div style={{ fontSize: 16, marginBottom: “1rem”

Read More »

Share this page

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on email

Popular: