apply inline css in div react code example Example: javascript style inline react <div style={{ width: '200px', backgroundColor: 'red' }}>