med-table
Version:
Wrapper over table of primeng library for Ministry of Health
11 lines (10 loc) • 480 B
TypeScript
import { CellObject } from 'xlsx-js-style';
import { CellDataConfigLocal } from '../../types/CellDataConfigLocal';
export interface IRowBuilder {
createTableRow(config: CellDataConfigLocal[], row: Record<string, any>): CellObject[];
}
export declare class RowBuilder<RowValueType extends Record<string, any>> implements IRowBuilder {
private readonly cellBuilder;
createTableRow(config: CellDataConfigLocal[], row: RowValueType): CellObject[];
private getField;
}