table
Version:
Formats data into a string table.
5 lines (4 loc) • 358 B
TypeScript
import type { VerticalAlignment } from './types/api';
import type { BaseConfig, Row } from './types/internal';
export declare const padCellVertically: (lines: string[], rowHeight: number, verticalAlignment: VerticalAlignment) => string[];
export declare const mapDataUsingRowHeights: (unmappedRows: Row[], rowHeights: number[], config: BaseConfig) => Row[];