open link in new page on button click react code example
Example 1: open a new tab when clicking on a link react
<td onClick={()=> window.open("someLink", "_blank")}>text</td>
Example 2: react open url with button
window.open(newPageUrl, "_blank")