withTableDragDrop Function

Beta  

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

withTableDragDrop<P extends TableProps, DragDropObject extends TableDragDropType>(TableComponent: React.ComponentType<P extends TableProps>): React.ComponentType<P extends TableProps & TableDragDropProps<DragDropObject extends TableDragDropType>>

Parameter Type Description
TableComponent React.ComponentType<P extends TableProps>  

Returns - React.ComponentType<P extends TableProps & TableDragDropProps<DragDropObject extends TableDragDropType>>

Defined in

Last Updated: 13 June, 2024