FileDropZone

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

Datei ablegen

Properties

PropertyTypeDefaultDescription
isReadOnlyboolean-Whether the component is read only.
classNamestring-The elements class name.
wrapWithReactElement<unknown, string | JSXElementConstructor<any>>-
refRef<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
keyKey-
childrenReactNode-
namestring-
acceptstring-
multipleboolean-
isDisabledboolean-Whether the drop target is disabled. If true, the drop target will not accept any drops.

Events

PropertyTypeDefaultDescription
onChangeFileInputOnChangeHandler-

Auf dieser Seite