Answers for "react onclick event open new tab"

4

open a new tab when clicking on a link react

<td onClick={()=> window.open("someLink", "_blank")}>text</td>
Posted by: Guest on August-13-2020

Code answers related to "react onclick event open new tab"

Code answers related to "Javascript"

Browse Popular Code Answers by Language