Skip to main content
react-mediadrop re-exports every shared type — there’s never a reason to import from an internal engine package directly.

MediaDropFile

MediaDropRestrictions

MediaDropError

MediaDropValidator

DragState

UploadTransport

RetryOptions and withRetry

Session persistence

Exported for custom resumable transports — no bundled transport currently uses them.

Core concepts

The file model, the store, and drag state

useMediaDrop API

Full hook reference