title: I get [Object object] when try to render html tag in React
body: <p>I have this code:</p>
  <pre><code>const render = myOpt =&gt; (
    &lt;div className=&quot;my-class&quot;&gt;
      {`${myOpt.isExpired ? &lt;i className='logo-check'&gt;&lt;/i&gt; : 'not expired'}`}
    &lt;/div&gt;
  );
  </code></pre>
  <p>So, option.isExpired = true but I get [Object object]</p>