title: React - conditionally render multiple elements
body: <p>I have a slider and I want to only show the arrows if the slider has more than one image.</p>
  
  <p>I've tried something like the following in the return</p>
  
  <pre><code>{(this.state.images &gt; 1)
    &lt;LeftArrow goToPrevSlide={this.goToPrevSlide} /&gt;
    &lt;RightArrow goToNextSlide={this.goToNextSlide} /&gt;
  }
  </code></pre>
  
  <p>and I get the following <code>Parsing error: Unexpected token, expected "}"</code></p>