Files
log-lottery/src/types/table.ts
ex_zhangwenlei@exiot.cmcc df02b23b2d feat: init
2024-01-02 21:50:01 +08:00

19 lines
327 B
TypeScript

export interface TableItemType {
prop: string;
label: string;
width: number;
image?: boolean;
actions?: actionsItemType[];
aligen?: string;
formatter?: ItemFuncType;
getType?: ItemFuncType;
}
interface ItemFuncType {
(row: any): any;
}
interface actionsItemType {
name: string;
func: any;
type?: any;
}