Skip to content

Commit

Permalink
updated fallbackIcon comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshmangwani committed May 17, 2022
1 parent bd03e20 commit e87646d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const propTypes = {
/** The fill color for the icon. Can be hex, rgb, rgba, or valid react-native named color such as 'red' or 'blue' */
fill: PropTypes.string,

/** Function for using fallback avatar */
/** A fallback avatar icon to display when there is an error on loading avatar from remote URL. */
fallbackIcon: PropTypes.func,
};

Expand Down
2 changes: 1 addition & 1 deletion src/components/AvatarWithImagePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const propTypes = {
/** Size of Indicator */
size: PropTypes.oneOf([CONST.AVATAR_SIZE.LARGE, CONST.AVATAR_SIZE.DEFAULT]),

/** Function for using fallback avatar */
/** A fallback avatar icon to display when there is an error on loading avatar from remote URL. */
fallbackIcon: PropTypes.func,

...withLocalizePropTypes,
Expand Down
2 changes: 1 addition & 1 deletion src/components/menuItemPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const propTypes = {
/** Whether the menu item should be interactive at all */
interactive: PropTypes.bool,

/** Function for using fallback avatar */
/** A fallback avatar icon to display when there is an error on loading avatar from remote URL. */
fallbackIcon: PropTypes.func,
};

Expand Down

0 comments on commit e87646d

Please sign in to comment.