title: How can I apply a ternary operator in this code?
body: <p>I'm trying to apply a ternary operator on this block of code and insert another if the condition is false. I find it a bit confusing because I've never used a ternary operator in this type of code blocks. </p>
  
  <p>Thanks in advance! </p>
  
  <p>Code: </p>
  
  <pre><code>{isNormalLoader &amp;&amp; (
        &lt;Dimmer active inverted&gt;
          &lt;Loader size="medium"&gt;{!textDisabled &amp;&amp; loadingText}&lt;/Loader&gt;
        &lt;/Dimmer&gt;
  )}
  </code></pre>
  
  <p>If the condition is false, display other component, but I don't have any clue on how to do it.</p>