mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
Make count prop optional in BadgeProps interface
E.g. https://ant.design/components/badge/#components-badge-demo-dot
This commit is contained in:
parent
fa235b7876
commit
03adcefafd
@ -7,7 +7,7 @@ import warning from '../_util/warning';
|
||||
|
||||
export interface BadgeProps {
|
||||
/** Number to show in badge */
|
||||
count: number | string;
|
||||
count?: number | string;
|
||||
showZero?: boolean;
|
||||
/** Max count to show */
|
||||
overflowCount?: number;
|
||||
|
Loading…
Reference in New Issue
Block a user