diff --git a/src/components/Avatar.js b/src/components/Avatar.js index c3e64dbac2b2..aa56b6262d28 100644 --- a/src/components/Avatar.js +++ b/src/components/Avatar.js @@ -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']),