title: How to conditionally add component in react
body: <p>My code looks to somethis like </p>
  
  <pre><code>&lt;iOSOnlyComponent&gt;
  .....
  .....
  .....
  &lt;/iOSOnlyComponent&gt;
  </code></pre>
  
  <p>Want to use the <code>iOSOnlyComponent</code> only on iOS. I tried this</p>
  
  <pre><code>{isIOS &amp;&amp; &lt;iOSOnlyComponent&gt;}
  .....
  .....
  .....
  {isIOS &amp;&amp; &lt;/iOSOnlyComponent&gt;}
  </code></pre>
  
  <p>But I got a syntax error </p>