ExternalDropZoneProps

Represents the properties of the [ExternalDropZone](% slug api_upload_externaldropzone %) component.

NameTypeDefaultDescription

className?

string

Sets additional classes to the ExternalDropZone.

customHint?

React.ReactNode

Sets different hint node.

customNote?

React.ReactNode

Sets different note node.

disabled?

boolean

Determines the disabled mode of the ExternalDropZone.

id?

string

Sets the id property of the top div element of the ExternalDropZone.

onDrop?

(event: DragEvent<HTMLDivElement>) => void

Triggered after a file is dropped into the ExternalDropZone area.

onElementDragEnter?

(event: DragEvent<HTMLDivElement>) => void

Triggered after a file is dragged inside the ExternalDropZone area.

onElementDragOver?

(event: DragEvent<HTMLDivElement>) => void

Triggered after a file dragging is over.

style?

React.CSSProperties

Sets additional CSS styles to the ExternalDropZone.

tabIndex?

number

Sets the tabIndex attribute.

uploadRef

any

Represents the ref of the linked Upload.