A React component to view a PDF document. It's written in TypeScript, and powered by React hooks completely.
- Build:
$ npm run build
Then it will produce two formats available in the dist
folder:
└─── dist
├─── cjs // CommonJS package
└─── umd // UMD package
- Dev mode:
$ npm run dev
The bundler will watch the entire src
folder and build the cjs
package when any source file is changed.
- Lint:
$ npm run lint