element-plus
Version:
A Component Library for Vue 3
17 lines (16 loc) • 1.03 kB
TypeScript
import type { ExtractPropTypes } from 'vue';
export declare const tagProps: {
readonly closable: BooleanConstructor;
readonly type: import("element-plus/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, "" | "success" | "warning" | "info" | "danger", unknown>;
readonly hit: BooleanConstructor;
readonly disableTransitions: BooleanConstructor;
readonly color: import("element-plus/es/utils/props").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
readonly size: import("element-plus/es/utils/props").BuildPropReturn<StringConstructor, unknown, unknown, "small" | "medium" | "mini", unknown>;
readonly effect: import("element-plus/es/utils/props").BuildPropReturn<StringConstructor, "light", unknown, "light" | "dark" | "plain", unknown>;
};
export declare type TagProps = ExtractPropTypes<typeof tagProps>;
export declare const tagEmits: {
close: (evt: MouseEvent) => boolean;
click: (evt: MouseEvent) => boolean;
};
export declare type TagEmits = typeof tagEmits;