I am using react to create a website, and I have the resume.html file stored in the website's src directory. I want to open a new tab and display the resume.html file in that new tab when I click the "Resume" button. The following code does not work. I've looked all over for an answer but I cannot figure it out. Thank you!
<Resume onClick={window.open("./resume.html", "_blank")}>View My Resume</Resume>