fix(badge): badge props count default value error (#6433)
parent
4e277ea9bb
commit
0b85b84dcf
|
@ -17,7 +17,7 @@ import { isPresetColor } from '../_util/colors';
|
|||
|
||||
export const badgeProps = () => ({
|
||||
/** Number to show in badge */
|
||||
count: PropTypes.any,
|
||||
count: PropTypes.any.def(null),
|
||||
showZero: { type: Boolean, default: undefined },
|
||||
/** Max count to show */
|
||||
overflowCount: { type: Number, default: 99 },
|
||||
|
|
Loading…
Reference in New Issue