FileDropZone

Die FileDropZone ermöglicht das Hochladen von Dateien per Drag-and-Drop oder durch manuelle Auswahl.GitHubMarkdown

Properties

PropertyTypeDescription
isReadOnly
boolean
Whether the component is read only.
className
string
The elements class name.
wrapWith
ReactElement<unknown, string | JSXElementConstructor<any>>
ref
Ref<HTMLSpanElement>
Allows getting a ref to the component instance. Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref). @see React Docs
key
Key
children
ReactNode
name
string
accept
string
multiple
boolean
isDisabled
boolean
Whether the drop target is disabled. If true, the drop target will not accept any drops.

Events

PropertyTypeDescription
onChange
FileInputOnChangeHandler

Auf dieser Seite