sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
21 lines (20 loc) • 487 B
TypeScript
import { type StyleValue } from 'vue';
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: {
value: number;
max: number;
};
export interface BadgeSlots {
default?(props: Record<string, never>): any;
value?(props: Record<string, never>): any;
}