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: DropEvent | CreateEvent) => void
handleRemoveFile(event: DropEvent | CreateEvent) => void
isClearableBoolean
isEditableBoolean
namestring
onBlur() => void
onChange(event: DropEvent | CreateEvent) => void
onError((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)