Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 23b75bf

Browse files
committed
fix 2
1 parent a50c76b commit 23b75bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react/src/components/Avatar/Avatar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ Avatar.displayName = 'Avatar'
122122
status: customPropTypes.itemShorthand,
123123
getInitials: PropTypes.func,
124124
}
125+
;(Avatar as any).handledProps = Object.keys((Avatar as any).propTypes)
125126
Avatar.defaultProps = {
126127
size: 'medium',
127128
getInitials(name: string) {

0 commit comments

Comments
 (0)