title: ReactJS / React Bootstrap / Button / Link
body: <p>I am trying to create a simple login page in React using 'react-bootstrap'. This is a simple login screen with &quot;Login&quot; and &quot;Register&quot; buttons, with user being re-directed to a &quot;Register&quot; page on click on &quot;Register&quot; button. Below is my code lines...</p>
  <pre><code> &lt;td&gt;&lt;Button variant=&quot;primary&quot; id=&quot;login&quot; type=&quot;submit&quot; margin=&quot;10px&quot;&gt;Login&lt;/Button&gt;
   {&quot; &quot;}
   &lt;Button variant=&quot;link&quot; id=&quot;register&quot; type=&quot;Button&quot; margin=&quot;10px&quot; href=&quot;/registrationForm&quot;&gt;Register&lt;/Button&gt;
   &lt;/td&gt; 
  </code></pre>
  <p>I have tried to check official documentation of 'react-bootstrap', but didn't find any example showing how to use button variant &quot;link&quot; for transferring code execution to a different page.</p>
  <p>How to transfer execution to a different page by clicking on button with variant set as &quot;link&quot;?</p>
  <p>P.S.: I have already tried to search online as well as on SE, but couldn't find a real working example.</p>
  <p>Thanks,</p>
  <p>Abhay Desai</p>