diegomura / diegomura/react-pdf
Add more options for pdf viewer
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
**Is your feature request related to a problem? Please describe.**
Now the `PDFViewer` component has prop `showToolbar` which defines whether preview will be opened with toolbar. Developer has the opportunity to change this behavior but the other options that changing PDF preview behavior is not presented.
**Describe the solution you'd like**
Add a prop to `PDFViewer` component `options` or `config` that will be an object with all possible (or reasonable) options to configurate preview display.
**Describe alternatives you've considered**
I've found this [Adobe documentations](https://pdfobject.com/pdf/pdf_open_parameters_acro8.pdf) which describes all possible parameters for the document preview.
Contributor guide
Assessment
This issue has not been assessed yet.