UNPKG

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