title: JSX: Inline conditional attribute [href]
body: <p>I am searching for inline conditional solution for Href attribute in jsx.
  I wanted to output if i provide an url:-</p>
  
  <pre><code>&lt;a className="navbar-brand" href="/example-url" &gt;Logo&lt;/a&gt;
  </code></pre>
  
  <p>And if not:-</p>
  
  <pre><code>&lt;a className="navbar-brand"&gt;Logo&lt;/a&gt;
  </code></pre>