title: How can I draw red horizontal line in React
body: <p>How can I draw a horizontal line (hr) in a react component using dynamic color?</p>
  
  <p>Here's what I have so far:</p>
  
  <pre><code>render {
      let color = 'red';
      return (
          &lt;div&gt; 
              There is a red HR
             &lt;hr /&gt;
          &lt;div&gt;
      )
  }
  </code></pre>