We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firstly great package, thanks.
Using the hook the following does not work:
const { toPDF, targetRef: pdfTargetRef } = usePDF( filename: 'fileName.pdf' }) const downloadAsPdf = () => { toPDF({ page: { orientation: 'landscape' } }) }
The downloaded PDF is in portrait
The following does work:
const { toPDF, targetRef: pdfTargetRef } = usePDF({ page: { orientation: 'landscape' }, filename: 'fileName.pdf' }) const downloadAsPdf = () => { toPDF() }
The text was updated successfully, but these errors were encountered:
Same here, any updates on this ?
Sorry, something went wrong.
No branches or pull requests
Firstly great package, thanks.
Using the hook the following does not work:
The downloaded PDF is in portrait
The following does work:
The text was updated successfully, but these errors were encountered: