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