API Reference > ui-components > Breadcrumb > withBreadcrumbDetailsDragDrop withBreadcrumbDetailsDragDrop Function Beta A HOC component that adds drag and drop functionality to the supplied breadcrumb component. withBreadcrumbDetailsDragDrop<P extends BreadcrumbDetailsProps, DragDropObject extends BreadcrumbDetailsDragDropType>(BreadcrumbComponent: React.ComponentType<P extends BreadcrumbDetailsProps>): React.ComponentType<P extends BreadcrumbDetailsProps & BreadcrumbDetailsDragDropProps<DragDropObject extends BreadcrumbDetailsDragDropType>> Parameter Type Description BreadcrumbComponent React.ComponentType<P extends BreadcrumbDetailsProps> Returns - React.ComponentType<P extends BreadcrumbDetailsProps & BreadcrumbDetailsDragDropProps<DragDropObject extends BreadcrumbDetailsDragDropType>> Defined in ui/components/src/ui-components/breadcrumb/breadcrumbdetails/hoc/withDragDrop.tsx Line 40 Last Updated: 13 June, 2024