adding style to react element 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
style={ someCondition ? { textAlign:'center', paddingTop: '50%'} : {}}