UNPKG

1.8 kBTypeScriptView Raw
1export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 size: import("vue").PropType<import("./types").TagSize>;
3 mark: BooleanConstructor;
4 show: {
5 type: BooleanConstructor;
6 default: true;
7 };
8 type: {
9 type: import("vue").PropType<import("./types").TagType>;
10 default: import("./types").TagType;
11 };
12 color: StringConstructor;
13 plain: BooleanConstructor;
14 round: BooleanConstructor;
15 textColor: StringConstructor;
16 closeable: BooleanConstructor;
17}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18 size: import("vue").PropType<import("./types").TagSize>;
19 mark: BooleanConstructor;
20 show: {
21 type: BooleanConstructor;
22 default: true;
23 };
24 type: {
25 type: import("vue").PropType<import("./types").TagType>;
26 default: import("./types").TagType;
27 };
28 color: StringConstructor;
29 plain: BooleanConstructor;
30 round: BooleanConstructor;
31 textColor: StringConstructor;
32 closeable: BooleanConstructor;
33}>> & Readonly<{
34 onClose?: ((...args: any[]) => any) | undefined;
35}>, {
36 type: import("./types").TagType;
37 mark: boolean;
38 round: boolean;
39 show: boolean;
40 plain: boolean;
41 closeable: boolean;
42}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
43export default Tag;
44export { tagProps } from './Tag';
45export type { TagProps } from './Tag';
46export type { TagSize, TagType, TagThemeVars } from './types';
47declare module 'vue' {
48 interface GlobalComponents {
49 VanTag: typeof Tag;
50 }
51}
52
\No newline at end of file