react-view-pdf-mod
v0.1.33
Published
A simple and powerful PDF Viewer library for React.js
Downloads
18
Maintainers
Readme
React PDF Reader
The purpose of this library is to provide a React component that works as a PDF Reader. It's basically a React wrapper from the pdf.js library from Mozilla.
Using the Library
The library can be installed via the following commands:
npm i --save-dev react-view-pdf-mod
Because this library uses components from precise-ui
, it is necessary to add it as a dependency to your project:
npm i precise-ui
Then, simply import the component like below:
import { PDFViewer } from 'react-view-pdf-mod';
<PDFViewer url="http://www.africau.edu/images/default/sample.pdf" />
Contributing
Feel free to contribute to it or open issues in case of bugs.
Roadmap
- Remove dependency on
precise-ui
. - Allow selection of texts.
- Add built-in download button.
Updates
Resolve low resolution of PDFs on high DPI mobile devices issue