diegomura / diegomura/react-pdf
Request to add the ability to set PDF version 2.0
Open
new feature
- 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.**
Currently, the react-pdf library uses PDF version 1.3 as the default. However, as the technology evolves, PDF version 2.0 is becoming more common and offers a number of security benefits.
Now when I set 2.0 in pdfVersion prop, Typescript displays an error and I see the default value of 1.3 in the generated PDF
**Describe the solution you'd like**
Extend type with 2.0 version:

Contributor guide
Assessment
This issue has not been assessed yet.