UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

39 lines (38 loc) 1.11 kB
import { TdBadgeProps } from './type'; import { PropType } from 'vue'; declare const _default: { color: { type: StringConstructor; default: string; }; content: { type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; }; count: { type: PropType<string | number | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; default: number; }; default: { type: PropType<string | ((h: typeof import("vue").h) => import("..").SlotReturnValue)>; }; dot: BooleanConstructor; maxCount: { type: NumberConstructor; default: number; }; offset: { type: PropType<(string | number)[]>; }; shape: { type: PropType<"round" | "circle">; default: "round" | "circle"; validator(val: TdBadgeProps['shape']): boolean; }; showZero: BooleanConstructor; size: { type: PropType<"small" | "medium">; default: "small" | "medium"; validator(val: TdBadgeProps['size']): boolean; }; }; export default _default;