sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
19 lines (18 loc) • 525 B
TypeScript
import { type StyleValue } from 'vue';
import { type DefaultProps } from '../config';
export interface BadgeProps {
rootStyle?: StyleValue;
rootClass?: string;
value?: number | string;
max?: number;
showZero?: boolean;
color?: string;
textColor?: string;
dot?: boolean;
fixed?: boolean;
}
export declare const defaultBadgeProps: () => DefaultProps<BadgeProps>;
export interface BadgeSlots {
default?(props: Record<string, never>): any;
value?(props: Record<string, never>): any;
}