react-to-pdf icon indicating copy to clipboard operation
react-to-pdf copied to clipboard

Generate pdf from react components

Results 77 react-to-pdf issues
Sort by recently updated
recently updated
newest added

![react-to-pdf-svg-bug](https://github.com/ivmarcos/react-to-pdf/assets/134538527/7892ae27-1ef8-4037-8611-1fe2e67f6ce2) Config: ``` version: ["react-to-pdf": "^1.0.1", "next": "14.1.0"] format: PNG import { Margin, usePDF } from "react-to-pdf"; const { toPDF, targetRef } = usePDF({ filename: "FileName", page: { margin: Margin.MEDIUM...

Firstly great package, thanks. Using the hook the following does not work: ``` const { toPDF, targetRef: pdfTargetRef } = usePDF( filename: 'fileName.pdf' }) const downloadAsPdf = () => {...

![image](https://github.com/ivmarcos/react-to-pdf/assets/153521501/e7945729-3b0e-4cc8-81d8-12efc0a2e703) ![image](https://github.com/ivmarcos/react-to-pdf/assets/153521501/11bc2514-2862-40a8-bd33-3a25d3bd96fa) I am trying to print my form which has an HTML5 date picker, even if the format is dd-mm-yyyy after i initiate the print, the date is coming...

./node_modules/react-to-pdf/dist/module.js 43:32 Module parse failed: Unexpected token (43:32) File was processed with these loaders: * ./node_modules/babel-loader/lib/index.js You may need an additional loader to handle the result of these loaders. |...

Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9. Commits 1ecbf2f 1.1.9 6a3ada9 lib: fixed CVE-2023-42282 and added unit test See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ip&package-manager=npm_and_yarn&previous-version=1.1.8&new-version=1.1.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any...

dependencies

Generate Pdf function from **react-to-pdf** is not downloading the same file in **Safari** browser until open Application in a new tab. It only downloads the file once until open in...

I downloaded PDF of table DataGrid in Nextjs and after 10 pages or 500+ rows in the table, the pdf shows the black pages. I also attached the PDF file....

I have some CSS that creates notched boxes. In browser: ![Screenshot 2024-01-20 at 5 06 50 PM](https://github.com/ivmarcos/react-to-pdf/assets/203307/f6478a98-de5c-4791-ac2f-d5fb704c3152) In rendered PDF: ![Screenshot 2024-01-20 at 5 07 22 PM](https://github.com/ivmarcos/react-to-pdf/assets/203307/94e93bf7-1bd9-4712-a73d-e079b68ccb9d) The `styled-component`: ```css...

Hello! I am trying to get each div inside the element I am printing to be separated by a page jump, but I'm not quite understanding how to do so...

**The image is rendered dynamically, for example, path to the image is https://www.example.com/image.jpg** ![image](https://github.com/ivmarcos/react-to-pdf/assets/27329467/4f512cbc-f263-444a-848b-ba29fc6bb053) JSX