I want to open an html file in a new tab on button click in react js
I want to open an html file which is in my local, in a new tab on button click in react component. I am trying to import the html file and then use window.open() method of javascript for this purpose.…