easemob-chat-uikit
Version:
   ![GitHub last c
21 lines (20 loc) • 593 B
TypeScript
import React from 'react';
export interface BadgeProps {
/** Number to show in badge */
count?: React.ReactNode;
/** Max count to show */
overflowCount?: number;
/** Whether to show red dot without number */
dot?: boolean;
showZero?: boolean;
style?: React.CSSProperties;
className?: string;
size?: 'default' | 'small';
offset?: [number | string, number | string];
title?: string;
children?: React.ReactNode;
scrollNumberPrefixCls?: string;
prefixCls?: string;
color?: string;
}
export declare const Badge: React.FC<BadgeProps>;