Files
bigcapital/server/src/interfaces/Table.ts
a.bouhuolia d47633b8ea feat: Inventory item details report.
feat: Cash flow statement report.
2021-05-31 13:17:02 +02:00

25 lines
354 B
TypeScript

export interface IColumnMapperMeta {
key: string;
accessor?: string;
value?: string;
}
export interface ITableCell {
value: string;
key: string;
}
export type ITableRow = {
rows: ITableCell[];
};
export interface ITableColumn {
key: string,
label: string,
}
export interface ITable {
columns: ITableColumn[],
data: ITableRow[],
}