mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
Fix PropTypes
This commit is contained in:
parent
3165da4246
commit
034b561948
@ -39,7 +39,10 @@ AntBadge.defaultProps = {
|
||||
};
|
||||
|
||||
AntBadge.propTypes = {
|
||||
count: React.PropTypes.number,
|
||||
count: React.PropTypes.oneOfType([
|
||||
React.PropTypes.string,
|
||||
React.PropTypes.number
|
||||
]),
|
||||
dot: React.PropTypes.bool
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user