Skip to main content

Interface: DragItem<T>

Defined in: types/index.ts:90

Interface representing a draggable item with metadata and data.

Type Parameters​

T​

T

The type of data associated with the drag item

Properties​

type​

type: string

Defined in: types/index.ts:92

The type identifier for the drag item


label​

label: string

Defined in: types/index.ts:94

The display label for the drag item


icon?​

optional icon: FC<SvgProps>

Defined in: types/index.ts:96

Optional icon component for the drag item


data​

data: T

Defined in: types/index.ts:98

The data payload associated with the drag item