Check out example codes for "button open link in new tab". It will help you in understanding the concepts better.

Code Example 1

<button class="btn btn-success" onclick="location.href='http://google.com';"> Google</button>

Learn ReactJs, React Native from akashmittal.com