UNPKG

1.84 kBTypeScriptView Raw
1import { type PropType, type ExtractPropTypes } from 'vue';
2import { type BadgeProps } from '../badge';
3export declare const iconProps: {
4 dot: BooleanConstructor;
5 tag: {
6 type: PropType<keyof HTMLElementTagNameMap>;
7 default: keyof HTMLElementTagNameMap;
8 };
9 name: StringConstructor;
10 size: (NumberConstructor | StringConstructor)[];
11 badge: (NumberConstructor | StringConstructor)[];
12 color: StringConstructor;
13 badgeProps: PropType<Partial<BadgeProps>>;
14 classPrefix: StringConstructor;
15};
16export type IconProps = ExtractPropTypes<typeof iconProps>;
17declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
18 dot: BooleanConstructor;
19 tag: {
20 type: PropType<keyof HTMLElementTagNameMap>;
21 default: keyof HTMLElementTagNameMap;
22 };
23 name: StringConstructor;
24 size: (NumberConstructor | StringConstructor)[];
25 badge: (NumberConstructor | StringConstructor)[];
26 color: StringConstructor;
27 badgeProps: PropType<Partial<BadgeProps>>;
28 classPrefix: StringConstructor;
29}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
30 dot: BooleanConstructor;
31 tag: {
32 type: PropType<keyof HTMLElementTagNameMap>;
33 default: keyof HTMLElementTagNameMap;
34 };
35 name: StringConstructor;
36 size: (NumberConstructor | StringConstructor)[];
37 badge: (NumberConstructor | StringConstructor)[];
38 color: StringConstructor;
39 badgeProps: PropType<Partial<BadgeProps>>;
40 classPrefix: StringConstructor;
41}>> & Readonly<{}>, {
42 dot: boolean;
43 tag: keyof HTMLElementTagNameMap;
44}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
45export default _default;