Package Exports
- react-pdf-marker
- react-pdf-marker/dist/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-pdf-marker) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-pdf-marker
Based on react-pdf-highlighter by agentcooper
Set of React components for PDF annotation.
Features:
- Built on top of PDF.js
- Text and image highlights
- Popover text for highlights
- Scroll to highlights
Importing CSS
The bundled CSS include the CSS for pdfjs.
import "react-pdf-marker/dist/style.css";Example
To run the example app locally:
npm install
npm startInstall
npm install react-pdf-markerHow to use
See ./example/src/App.tsx for the React component API example.