OptionalclassOptionalonEnables dropping files (PDFs or images) onto the strip to insert them as
pages. index is the 0-based position to insert at (0 = before the first
page, pageCount = after the last), taken from where the drop lands between
thumbnails. An insertion line follows the cursor while dragging.
Uses HTML5 file drag & drop, which browsers do not raise for touch.
OptionalonEnables dragging a thumbnail to a new position. fromPageNumber is the
1-based page being moved and toIndex is the 0-based slot to drop it before
(0 = first, pageCount = last). The same insertion line marks the target.
Pointer-based, so it works with both mouse and touch: a mouse drag starts on movement, a touch drag on a short long-press (a plain swipe still scrolls).
OptionalonCalled after a thumbnail navigates — e.g. to close a drawer on a phone.
OptionalrenderExtra controls drawn over each thumbnail on hover — rotate, delete, whatever the app supports. Clicks inside are kept from navigating.
OptionalstyleOptionalwidthThumbnail width in CSS pixels. Defaults to 130.
Props for PdfThumbnailList.