Skip to main content

Interface: DropItem<T>

Defined in: types/index.ts:183

Interface representing a drop item with layout and data information.

Type Parameters

T

T

The type of data associated with the drop item

Properties

layout

layout: LayoutPosition

Defined in: types/index.ts:185

The layout position and configuration


children?

optional children: DropTree<T>

Defined in: types/index.ts:187

Optional child drop items


canDrop?

optional canDrop: boolean

Defined in: types/index.ts:189

Whether this item can accept drops


data?

optional data: T

Defined in: types/index.ts:191

Optional data associated with this drop item