UNPKG

305 BTypeScriptView Raw
1import type { ColumnType, Direction, StickyOffsets } from '../interface';
2/**
3 * Get sticky column offset width
4 */
5declare function useStickyOffsets<RecordType>(colWidths: number[], flattenColumns: readonly ColumnType<RecordType>[], direction: Direction): StickyOffsets;
6export default useStickyOffsets;