--- title: DragAndDropProps description: "Learn how to build custom functionality when working with the React Common by Kendo UI with the help of the DragAndDropProps." api_reference: true type: inner_api slug: api_common_draganddropprops --- # DragAndDropProps Represents the properties of the `DragAndDrop` component.
| Name | Type | Default | Description |
|---|---|---|---|
| #### 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<"null" | DragTarget>) => void; deregisterDrop?: (item: RefObject<"null" | DragTarget>) => void; drag?: "null" | RefObject<"null" | DragTarget>; drags?: RefObject<"null" | DragTarget>[]; drop?: "null" | RefObject<"null" | DropTarget>; drops?: RefObject<"null" | DropTarget>[]; registerDrag?: (item: RefObject<"null" | DragTarget>) => void; registerDrop?: (item: RefObject<"null" | DragTarget>) => 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. |