import { RowSelection } from '@/lib/types/feature'; import { CellValue } from '@/lib/types/cell'; import { Column } from '@/lib/types/column'; export * from './cell'; export * from './column'; export * from './row'; export * from './filter'; export * from './group'; /** * 表格数据 */ export interface GridData { [key: string]: CellValue; } /** * 表格 Prop */ export interface GridProp { columns: Column[]; defaultColumnConfig: { width: number; }; data: GridData[]; height: number | string; width: number | string; rowHeight: number; isTree: boolean; idKey: string; childrenKey: string; expandKey: string; defaultExpand: boolean; rowSelection: RowSelection; showIndex: boolean; totalBar: { totalCount: boolean | ((count: number) => string); }; }