FileDrop
acceptAccept | undefined = { image/*: [], }
Pass a comma-separated string of file types e.g. "image/png" or "image/png,image/jpeg"
fileNamestring
forceFileType"audio" | "video" | "image"
handleAddFile(event: CreateEvent | DropEvent) => void
handleRemoveFile(event: CreateEvent | DropEvent) => void
isClearableBoolean
isEditableBoolean
namestring
onBlurFocusEventHandler<HTMLDivElement> & (() => void)
onChangeFormEventHandler<HTMLDivElement> & ((event: CreateEvent | DropEvent) => void)
onErrorReactEventHandler<HTMLDivElement> & ((event?: string) => void) & ((err: Error) => void)
valuestring | FileWithPreview
wordingsWordingsType
Pass an object with optional fields title, hint, fileButtonText and/or previewButtonText (string or JSX.Element)