how to write inner style in react js code example
Example 1: inline style jsx
//Multiple inline styles
<div style={{padding:'0px 10px', position: 'fixed'}}>Content</div>
Example 2: inline styling in react
render() {
return (
<p style={{color: 'red'}}>
Example Text
</p>
);
}