title: Add inline style in reactjs without using JSX
body: <p>I am trying to add inline style to the element using reactjs. I found </p>
  
  <pre><code>var divStyle = {
    color: 'white',
    backgroundImage: 'url(' + imgUrl + ')'
  };
  
  ReactDOM.render(&lt;div style={divStyle}&gt;Hello World!&lt;/div&gt;, mountNode);
  </code></pre>
  
  <p>in reactjs docs. Thing is, it is not working without JSX. </p>
  
  <p>I tried doing this. </p>
  
  <pre><code>return (
          React.DOM.div({ className: 'eventsOuter'},
                {style:'divStyle'}
          )
  </code></pre>
  
  <p>But the style part is not working. </p>
  
  <p>Is there any way to fix this? </p>