Optionalaccept?: stringOptionaldropHint?: stringFollows the prompt where files can be dropped. Default "or drop here".
OptionaldropLabel?: stringShown while files are dragged over the drop zone. Default "Drop to add".
Optionallocale?: stringFormats file sizes. Default the browser's locale.
OptionaloptionLabel?: OptionAccessorNames a stored value that isn't a File (what @upload resolved to).
Optionalprompt?: stringThe drop zone's call to action. Default "Choose a file" or "Choose files".
OptionalrejectedLabel?: (names: string) => stringThe message for dropped files @accept turned away. Default "Not an accepted type: …".
OptionalremoveLabel?: (name: string) => stringA file's remove button's accessible name. Default "Remove
OptionalretryLabel?: stringThe button that retries a failed upload. Default "Retry".
Optionalupload?: UploadFnUploads each chosen file straight away; the field stores what it resolves to. Without it,
the field stores the File itself.
OptionaluploadingLabel?: (name: string) => stringAn upload's progress bar's accessible name. Default "Uploading
A wrapper around the drop zone and the file list, carrying the control's hooks.
The file types to offer, as for
<input accept>:.pdf,image/*,text/csv, ...