1 | export declare const Badge: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2 | dot: BooleanConstructor;
|
3 | max: (NumberConstructor | StringConstructor)[];
|
4 | tag: {
|
5 | type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
6 | default: keyof HTMLElementTagNameMap;
|
7 | };
|
8 | color: StringConstructor;
|
9 | offset: import("vue").PropType<[import("../utils").Numeric, import("../utils").Numeric]>;
|
10 | content: (NumberConstructor | StringConstructor)[];
|
11 | showZero: {
|
12 | type: BooleanConstructor;
|
13 | default: true;
|
14 | };
|
15 | position: {
|
16 | type: import("vue").PropType<import("./Badge").BadgePosition>;
|
17 | default: import("./Badge").BadgePosition;
|
18 | };
|
19 | }>, () => import("vue/jsx-runtime").JSX.Element | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
20 | dot: BooleanConstructor;
|
21 | max: (NumberConstructor | StringConstructor)[];
|
22 | tag: {
|
23 | type: import("vue").PropType<keyof HTMLElementTagNameMap>;
|
24 | default: keyof HTMLElementTagNameMap;
|
25 | };
|
26 | color: StringConstructor;
|
27 | offset: import("vue").PropType<[import("../utils").Numeric, import("../utils").Numeric]>;
|
28 | content: (NumberConstructor | StringConstructor)[];
|
29 | showZero: {
|
30 | type: BooleanConstructor;
|
31 | default: true;
|
32 | };
|
33 | position: {
|
34 | type: import("vue").PropType<import("./Badge").BadgePosition>;
|
35 | default: import("./Badge").BadgePosition;
|
36 | };
|
37 | }>> & Readonly<{}>, {
|
38 | dot: boolean;
|
39 | tag: keyof HTMLElementTagNameMap;
|
40 | showZero: boolean;
|
41 | position: import("./Badge").BadgePosition;
|
42 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
43 | export default Badge;
|
44 | export { badgeProps } from './Badge';
|
45 | export type { BadgeProps, BadgePosition } from './Badge';
|
46 | export type { BadgeThemeVars } from './types';
|
47 | declare module 'vue' {
|
48 | interface GlobalComponents {
|
49 | VanBadge: typeof Badge;
|
50 | }
|
51 | }
|