fix(badge): badge props count default value error (#6433)

pull/6454/head
鱼见 2023-04-08 21:05:12 +08:00 committed by GitHub
parent 4e277ea9bb
commit 0b85b84dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 },