pdfreader icon indicating copy to clipboard operation
pdfreader copied to clipboard

Exporting `usePDFDocument` hook.

Open chopfitzroy opened this issue 1 year ago • 1 comments

Can totally understand the concerns raised in #3 in regards to exposing all hooks.

I have a use case that could really benefit from having access to the PDFDocumentProxy would you be opposed to a PR exporting the usePDFDocument hook?

Happy to try and write up some docs for the Storybook as well if that helps.

chopfitzroy avatar Nov 20 '24 09:11 chopfitzroy

Hi!

That would be a welcome addition indeed, at least outlining the possible edge cases.

Thanks!

Titou325 avatar Nov 20 '24 09:11 Titou325