eslink-ui-plus
Version:
vue3 component library, css framework
26 lines (25 loc) • 757 B
TypeScript
import { keyConfigType } from '../utils';
export interface operaterType {
key: string;
label: string;
type?: 'select' | 'button' | 'date';
selected?: string;
buttonType?: 'success' | 'error' | 'warn' | 'default' | 'pure' | 'icon';
buttonPlain?: boolean;
buttonDisabled?: boolean;
source?: {
[key: string]: string;
}[];
keyConfig?: keyConfigType;
click?: (item?: operaterType) => any;
select?: ($event: optionSelectedEventType, item: operaterType) => any;
icon?: string;
classList?: string;
}
export declare type operateSourceType = operaterType[];
export declare type optionSelectedEventType = {
item: {
[key: string]: string;
};
value: string;
};