An Implementation of @react-pdf generation using hooks instead of BlobProvider.
Includes an Implementation of PDF Viewer using the hook.
This version also support generating the react pdf document via a function rather than a direct child. If used the function can optionally be asynchronous.