using 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: react div style
return <div style={{display: 'inline-block'}}>
//Multiple inline styles
<div style={{padding:'0px 10px', position: 'fixed'}}>Content</div>
return <div style={{display: 'inline-block'}}>