withBreadcrumbDragDrop Function

Beta  

A HOC component that adds drag and drop functionality to the supplied breadcrumb component.

withBreadcrumbDragDrop<P extends BreadcrumbProps, DragDropObject extends TreeDragDropType>(BreadcrumbComponent: React.ComponentType<P extends BreadcrumbProps>): React.ComponentType<P extends BreadcrumbProps & BreadcrumbDragDropProps<DragDropObject extends TreeDragDropType>>

Parameter Type Description
BreadcrumbComponent React.ComponentType<P extends BreadcrumbProps>  

Returns - React.ComponentType<P extends BreadcrumbProps & BreadcrumbDragDropProps<DragDropObject extends TreeDragDropType>>

Defined in

Last Updated: 13 June, 2024