UNPKG

table

Version:

Formats data into a string table.

8 lines (7 loc) • 412 B
import type { BaseConfig, Row } from './types/internal'; import type { WrappedCells } from './wrapCell'; /** * Produces an array of values that describe the largest value length (height) in every row. The lines of * the wrapped cells are kept in wrappedCells, if it is given. */ export declare const calculateRowHeights: (rows: Row[], config: BaseConfig, wrappedCells?: WrappedCells | undefined) => number[];