@wfrog/vc
Version:
vue3 组件库 vc
19 lines (18 loc) • 481 B
TypeScript
import { ButtonType } from 'element-plus/es/components/button/src/button';
export interface IIconOption {
name: string;
type?: IGlobal.IconType;
position?: 'left' | 'right';
}
export interface IButtonProps {
icon?: IIconOption;
time?: number;
type?: ButtonType;
confirm?: {
type?: 'popconfirm' | 'messagebox' | 'none';
title?: string;
confirmButtonText?: string;
cancelButtonText?: string;
msg?: string;
};
}