title: how to resize img in React
body: <pre><code> render() {
     &lt;img className="photo" src={"/public/love"} /&gt;
  
   }
  </code></pre>
  
  <p>I have a css file linked to it and it still isn't working</p>
  
  <pre><code> .photo {
        height: 100px;
        width: 100px; 
   }
  </code></pre>
  
  <p>How can you resize an img in react?Thanks!</p>