title: React: open link in a new tab
body: <p>I am trying to make it so that when the user clicks my label, it opens up a new tab with the specified URL. It currently is not working. Any ideas what I am doing wrong or need to do in my method?</p>
  
  <pre><code>rerouteToGoogle= () =&gt; {
      return &lt;Link to="google.com" /&gt;
  
  }
  
  &lt;MediaQuery query="(min-width: 550px)"&gt;
    &lt;div style={styles.alignText}&gt;
    &lt;Label color='green' basic onClick={this.rerouteToGoogle} &gt;CSV&lt;/Label&gt;
    &lt;/div&gt;
  &lt;/MediaQuery&gt;
  </code></pre>