react-to-pdf
react-to-pdf copied to clipboard
Generate pdf from react components
Objective is :- Generate the pdf using toPDF, return it and save it using the zip.file, then download the zip file. ``` const { toPDF, targetRef } = usePDF(); const...
Hello, i wanted to use your beautifull library to convert my react components to pdf but with TailwindCSS i encoutered an "bug". In fact, there is a form in my...
Bumps [msgpackr](https://github.com/kriszyp/msgpackr) from 1.8.5 to 1.10.1. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Hello, I believe the type of `toPDF` should not be `void`, but rather a promise. This way, we can utilize the Promise to access subsequent states and related functions, enabling...
Hyperlink is not working in the pdf
hi i am using this package in next js but below error occured: _You may need an appropriate loader to handle this file type, currently no loaders are configured to...
hi i want to target component not shown, only if button clicked pdf generate and download
react-to-pdf not working for me. I'm using react (18.0.0), webpack bundler(4.43.0) and babel transplier(7.9.6). It throwing >ERROR in ./node_modules/react-to-pdf/dist/module.js 49:38 >Module parse failed: Unexpected token (49:38) You may need an...
Amazing package ! I was trying to download a pdf and noticed that the pdf output is black if there is too much data. To reproduce, You can just duplicate...
` ` I got an iframe component like this, but it isn't getting translated to the pdf and nothing is shown in it's place. Any workarounds for this would be...