Skip to content

Commit

Permalink
Merge pull request #4600 from mananjadhav/fix/avatar-props-error
Browse files Browse the repository at this point in the history
Updated propType for Avatar containerStyles in Workspace
  • Loading branch information
Beamanator authored Aug 12, 2021
2 parents 9f73a02 + e2a72bf commit b2549b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const propTypes = {
imageStyles: PropTypes.arrayOf(PropTypes.object),

/** Extra styles to pass to View wrapper */
containerStyles: PropTypes.arrayOf(PropTypes.object),
containerStyles: PropTypes.oneOfType([PropTypes.object, PropTypes.arrayOf(PropTypes.object)]),

/** Set the size of Avatar */
size: PropTypes.oneOf(['default', 'small']),
Expand Down

0 comments on commit b2549b4

Please sign in to comment.