An Interest In:
Web News this Week
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
January 4, 2022 05:43 pm GMT
Original Link: https://dev.to/aishanipach/render-a-pdf-in-react-app-3aeo
Render a pdf in react app
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
Original Link: https://dev.to/aishanipach/render-a-pdf-in-react-app-3aeo
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To