The document to be loaded by PDF.js. If you need to pass HTTP headers, auth parameters, or other pdf settings, do it through here.
Optional
workerNOTE: This will be applied to all PdfLoader instances. If you want to only apply a source to this instance, use the document parameters.
Optional
beforeOptional
errorOptional
on
The props type for PdfLoader.