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 workerOptional PDF.js worker source override. By default, PdfLoader resolves the worker from the installed pdfjs-dist package so bundlers can emit it locally.
Optional beforeOptional errorOptional on
The props type for PdfLoader.