The upload component

Which product are you using?
PDF.js Express Viewer

PDF.js Express Viewer

Detailed description of issue
Is it possible to use “the upload component” shown in the demo?

Expected behaviour
I would like to incorporate this component before using the web viewer.

Does your issue happen with every document, or just one?

Link to document
{PDF.js Viewer Demo | PDF.js Express}

Code snippet

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hey there!

We cannot share this component with you as it is customized for our demo, but it should be very easy to implement something similar yourself.

We are using a library called react-dropzone which allows you to create a place where users can drag and drop files.

Once a file is dropped we simply just pass that file into the loadDocument api.