diff --git a/src/components/MultipleAvatars.js b/src/components/MultipleAvatars.js index 993d36123c3a..0bd2bb5da688 100644 --- a/src/components/MultipleAvatars.js +++ b/src/components/MultipleAvatars.js @@ -12,7 +12,7 @@ import CONST from '../CONST'; const propTypes = { /** Array of avatar URLs or icons */ - avatarIcons: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.func])), + icons: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.func])), /** Set the size of avatars */ size: PropTypes.oneOf(_.values(CONST.AVATAR_SIZE)), @@ -26,7 +26,7 @@ const propTypes = { }; const defaultProps = { - avatarIcons: [], + icons: [], size: CONST.AVATAR_SIZE.DEFAULT, secondAvatarStyle: [StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)], avatarTooltips: [], @@ -40,16 +40,16 @@ const MultipleAvatars = (props) => { ...props.secondAvatarStyle, ]; - if (!props.avatarIcons.length) { + if (!props.icons.length) { return null; } - if (props.avatarIcons.length === 1) { + if (props.icons.length === 1) { return ( @@ -65,17 +65,17 @@ const MultipleAvatars = (props) => { > - {props.avatarIcons.length === 2 ? ( + {props.icons.length === 2 ? ( @@ -88,7 +88,7 @@ const MultipleAvatars = (props) => { ? styles.avatarInnerTextSmall : styles.avatarInnerText} > - {`+${props.avatarIcons.length - 1}`} + {`+${props.icons.length - 1}`} diff --git a/src/components/OptionRow.js b/src/components/OptionRow.js index 535209aec91b..9d8a4119eb4c 100644 --- a/src/components/OptionRow.js +++ b/src/components/OptionRow.js @@ -173,7 +173,7 @@ const OptionRow = (props) => { /> ) : ( { diff --git a/src/pages/home/HeaderView.js b/src/pages/home/HeaderView.js index 99688f8d2397..da47279dfdef 100644 --- a/src/pages/home/HeaderView.js +++ b/src/pages/home/HeaderView.js @@ -145,7 +145,7 @@ const HeaderView = (props) => { /> ) : ( )}