API Reference > ui-components > Breadcrumb > withBreadcrumbDragDrop 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 ui/components/src/ui-components/breadcrumb/hoc/withDragDrop.tsx Line 32 Last Updated: 13 June, 2024