You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
334 B

import type TableLayout from './table-layout';
import type { Table } from './table/defaults';
declare function useLayoutObserver<T>(root: Table<T>): {
tableLayout: TableLayout<T>;
onColumnsChange: (layout: TableLayout<T>) => void;
onScrollableChange: (layout: TableLayout<T>) => void;
};
export default useLayoutObserver;