import { default as SortingState } from './SortingState'; /** * Data Table Dynamic Context Value interface * Contains shared state and callbacks to eliminate props drilling */ type DataTableDynamicContextValue = { sorting?: SortingState; setSorting?: (sorting: SortingState | undefined) => void; handleAutoResize?: (columnKey: keyof T) => void; handleAutoResizeAll?: () => void; }; export default DataTableDynamicContextValue;