react-fast-pdf
npm install react-fast-pdfreact-fast-pdfAwesome PDF viewer, that combines the best of others into one tool.
- Simple usage.
- Loads/previews PDF files of any size.
- Performance optimized.
- Easy customized.
- Support by Expensify.
Actually, for testing changes locally, we need to connect example to the code from src directory (_NPM by default_).
Update a few fields in example directory:
1. package.json:
``diff`
-"react-fast-pdf": "^1.*"
+"react-fast-pdf": "../src"
2. tsconfig.json:`diff`
-"rootDir": "./src"
+"rootDir": "../"
3. Run npm i in the directory. It should update package-lock.json`.
The final result has to look like in this commit.
This repo automatically publishes to NPM when PRs are merged to main.
Right now, contributions to this library are done under https://github.com/Expensify/App. Please refer to that repo and all it's guidelines for contributing.