We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e277ea commit 0b85b84Copy full SHA for 0b85b84
components/badge/Badge.tsx
@@ -17,7 +17,7 @@ import { isPresetColor } from '../_util/colors';
17
18
export const badgeProps = () => ({
19
/** Number to show in badge */
20
- count: PropTypes.any,
+ count: PropTypes.any.def(null),
21
showZero: { type: Boolean, default: undefined },
22
/** Max count to show */
23
overflowCount: { type: Number, default: 99 },
0 commit comments