title: How to redirect to external url onClick? in React
body: <p>I'm using react-router which means i'm storing routes in <code>app.tsx</code> file.</p>
  <p>I have cards components that need to redirect to an external url <code>onClick</code>.</p>
  <p><strong>So my question is</strong> how to redirect <code>onClick</code> on card component using the external url example: <a href="http://www.test.com" rel="nofollow noreferrer">www.test.com</a> and give to that url two query strings <code>a=xxx</code> and <code>b=xxx</code></p>