Skip to content

Commit

Permalink
revert(Avatar): Remove useless parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 3, 2017
1 parent a239184 commit f1e5ee0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/avatar/index.js
Expand Up @@ -50,10 +50,6 @@ Avatar.propTypes = {
'default',
'small',
]),
user: PropTypes.oneOfType([
PropTypes.string,
PropTypes.node
]),
shape: PropTypes.oneOf([
'square', // 正方形
'circle', // 圈
Expand All @@ -63,5 +59,4 @@ Avatar.propTypes = {
Avatar.defaultProps = {
prefixCls: 'w-avatar',
shape: 'circle',
// size: 'default',
}

0 comments on commit f1e5ee0

Please sign in to comment.