react button onclick new tab code example Example: open a new tab when clicking on a link react <td onClick={()=> window.open("someLink", "_blank")}>text</td>