title: Text and Icon in Button with Condition
body: <p>How can I add both icon and text in a button with conditional rendering</p>
  <p>This is working<br />
  <code>&lt;button &gt;{this.state.isLoading ? &lt;i class=&quot;fas fa-spinner fa-spin&quot;&gt;&lt;/i&gt; : &quot;Submit&quot;}&lt;/button&gt;</code></p>
  <p>This is working<br />
  <code>&lt;button &gt;{this.state.isLoading ? &quot;Submitting...&quot; : &quot;Submit&quot;}&lt;/button&gt;</code></p>
  <p>This is NOT working<br />
  <code>&lt;button &gt;{this.state.isLoading ? &lt;i class=&quot;fas fa-spinner fa-spin&quot;&gt;&lt;/i&gt; &quot;Submitting...&quot; : &quot;Submit&quot;}&lt;/button&gt;</code></p>