title: Conditional inline style in react js
body: <p>I want to hide the button if <strong>this.state.task.status == 'Completed'</strong>(Like adding display: none property)</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>&lt;Button size="small"           
  style={{display:this.state.task.status == "Completed" ? "none":""}}              
  style={textColor} &gt;Mark as Completed&lt;/Button&gt;
  </code></pre>
  
  <p><strong>textColor</strong> is another style which is working fine.</p>