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

Last Updated: 13 June, 2024