calculateMaximumColumnWidths.d.ts 403 B

1234567
  1. import type { SpanningCellConfig } from './types/api';
  2. import type { Row, Cell } from './types/internal';
  3. export declare const calculateMaximumCellWidth: (cell: Cell) => number;
  4. /**
  5. * Produces an array of values that describe the largest value length (width) in every column.
  6. */
  7. export declare const calculateMaximumColumnWidths: (rows: Row[], spanningCellConfigs?: SpanningCellConfig[]) => number[];