If you want to render a pdf file in a react app, there are different options out there. The one that I recently used and would recommend for beginners is react-pdf.
npm install react-pdf
For activating links:
import 'react-pdf/dist/esm/Page/AnnotationLayer.css';
Check out the script example here:
https://github.com/Aishanipach/React-pdf-devto
Top comments (3)
full docs, for those who care about real creds and READMEs
react-pdf.org/
Added to my readme too, thanks!
Good decision.