MatthewHerbst / react-to-print

Print React components in the browser. Supports Chrome, Safari, Firefox and EDGE
MIT License
2.06k stars 221 forks source link

Unable to save as pdf logically #722

Closed manikanta0127 closed 1 month ago

manimaduri commented 1 month ago

i want anchor tags to be clickable after download

MatthewHerbst commented 1 month ago

Hello. This library does not generate PDFs so not sure how we can help with this. All we do is ask the browser to open the print preview window with your content. Your browser is what generates the PDF. You could also pass a custom print prop to not use window.print and instead use a 3rd part pdf library to generate the PDF on the client.

Happy to help where I can. I'm going to close this as it's not an issue with this library, but happy to keep discussing.