API Reference > ui-components > Table > withTableDragDrop 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 ui/components/src/ui-components/table/hocs/withDragDrop.tsx Line 45 Last Updated: 13 June, 2024