Components
Loading preview...
Top-level Next.js page that loads the PDF.js library dynamically, orchestrates PDF processing (converting each page into a canvas screenshot), manages shared state (library readiness, file, error handling, screenshots), and renders the FileUpload component—passing down callbacks and state. It serves as the primary entry point of the mini “PDF previewer” feature.
@itsankitverma