react-doc-viewer
react-doc-viewer copied to clipboard
Go back to the previous file
Hello,
I am having an issue of not able to go back in the following scenario.
I am loading an html file using doc viewer. The html file contains some text and some links within it. Clicking the link loads another html file or any figure(png/svg). The issue here is once I am on the 2nd file which is opened by click, I don't have an option to go back to the previous file. Is there a way to go back to the previous file?
`
<DocViewer pluginRenderers={DocViewerRenderers} documents={docs}
config={{ header: { disableHeader: true } }} style={{ height: "95vh", width: "100%" }} />
Any inputs are highly appreciated. Thank you