title: React error: Style prop value must be an object react/style-prop-object
body: <p>I am trying to wrap text around an image and if I use the following code:</p>
  
  <pre><code>&lt;div className="container"&gt;
           &lt;img src={myImageSource} alt="swimmer" height="300" width="300" style="float: left" /&gt;
           &lt;p&gt; This is where the other text goes about the swimmer&lt;/p&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>Now I understand that this <code>style="float: left"</code> is html 5.  However if I use the following code:</p>
  
  <pre><code>&lt;div className="container"&gt;
           &lt;img src={myImageSource} alt="swimmer" height="300" width="300" align="left" /&gt;
              &lt;p&gt; This is where the other text goes about the swimmer&lt;/p&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>It works! Why can't I use style in React?</p>