@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
14 lines (13 loc) • 427 B
TypeScript
import { FunctionComponent, ReactNode } from 'react';
import { BasicComponent } from '../../utils/typings';
export type BadgeFill = 'solid' | 'outline';
export interface BadgeProps extends BasicComponent {
value: ReactNode;
dot: boolean;
max: number;
top: string | number;
right: string | number;
color: string;
fill: BadgeFill;
}
export declare const Badge: FunctionComponent<Partial<BadgeProps>>;