New to KendoReactLearn about KendoReact Free.

DragAndDropProps

Represents the properties of the DragAndDrop component.

NameTypeDefaultDescription

children?

React.ReactNode

Represents the children of the DragAndDrop component. The children prop can be any valid React Element.

context?

React.Context<{ deregisterDrag?: (item: RefObject<DragTarget>) => void; deregisterDrop?: (item: RefObject<DropTarget>) => void; drag?: "null" | RefObject<DragTarget>; drags?: RefObject<DragTarget>[]; drop?: "null" | RefObject<DropTarget>; drops?: RefObject<DropTarget>[]; registerDrag?: (item: RefObject<DragTarget>) => void; registerDrop?: (item: RefObject<DropTarget>) => void; setDrag?: (value: "null" | RefObject<DragTarget>) => void; setDrop?: (value: "null" | RefObject<DropTarget>) => void; }>

Allows passing a custom context to the DragAndDrop component. Useful when there are multiple drag-and-drop functionalities in a single component.

Not finding the help you need?
Contact Support