element-plus
Version:
A Component Library for Vue3.0
46 lines (45 loc) • 1.38 kB
TypeScript
import type { PropType } from 'vue';
declare const _default: import("vue").DefineComponent<{
closable: BooleanConstructor;
type: {
type: StringConstructor;
default: string;
};
hit: BooleanConstructor;
disableTransitions: BooleanConstructor;
color: {
type: StringConstructor;
default: string;
};
size: {
type: PropType<ComponentSize>;
validator: (val: string) => boolean;
};
effect: {
type: StringConstructor;
default: string;
validator: (val: string) => boolean;
};
}, {
tagSize: import("vue").ComputedRef<any>;
classes: import("vue").ComputedRef<string[]>;
handleClose: (event: any) => void;
handleClick: (event: any) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "click")[], "close" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
closable: boolean;
type: string;
hit: boolean;
disableTransitions: boolean;
color: string;
effect: string;
} & {
size?: ComponentSize;
}>, {
closable: boolean;
type: string;
hit: boolean;
disableTransitions: boolean;
color: string;
effect: string;
}>;
export default _default;