@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
28 lines (27 loc) • 652 B
TypeScript
export interface DescItem {
span?: number;
bind?: Record<string, any>;
label?: string;
labelRender?: (item: any) => any;
slotName?: string;
tooltip?: string | ((item: any) => any);
placement?: string;
filters?: {
list: string;
key?: string;
label?: string;
};
value?: string | number;
unit?: string;
iconSize?: number;
iconColor?: string;
fieldName?: string;
}
export interface TDetailProps {
descColumn?: number;
dataList?: Record<string, any>;
listTypeInfo?: Record<string, any>;
descData: DescItem[];
isColon?: boolean;
isLabelBold?: boolean;
}