UNPKG

@ackplus/react-tanstack-data-table

Version:

A powerful React data table component built with MUI and TanStack Table

18 lines 689 B
import { SxProps } from '@mui/material'; import { Header } from '@tanstack/react-table'; interface DraggableHeaderProps<T> { header: Header<T, unknown>; enableSorting?: boolean; draggable?: boolean; onColumnReorder?: (draggedColumnId: string, targetColumnId: string) => void; containerSx?: SxProps; sortIconProps?: any; alignment?: 'left' | 'center' | 'right'; slots?: Record<string, any>; slotProps?: Record<string, any>; [key: string]: any; } export declare function DraggableHeader<T>(props: DraggableHeaderProps<T>): any; export declare const DraggableHeaderMemo: typeof DraggableHeader; export {}; //# sourceMappingURL=draggable-header.d.ts.map