Files
20250612/app_vue/node_modules/table/dist/src/drawContent.d.ts
2025-06-20 18:01:48 +08:00

15 lines
542 B
TypeScript

import type { SpanningCellManager } from './spanningCellManager';
/**
* Shared function to draw horizontal borders, rows or the entire table
*/
declare type DrawContentParameters = {
contents: string[];
drawSeparator: (index: number, size: number) => boolean;
separatorGetter: (index: number, size: number) => string;
spanningCellManager?: SpanningCellManager;
rowIndex?: number;
elementType?: 'border' | 'cell' | 'row';
};
export declare const drawContent: (parameters: DrawContentParameters) => string;
export {};