Skip to content

Commit

Permalink
Move propType fix to correct reportActionItemFragment file
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Vale committed Sep 2, 2022
1 parent 10e17ba commit 47a776b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions src/pages/home/report/ReportActionItemFragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ const propTypes = {
/** Should this fragment be contained in a single line? */
isSingleLine: PropTypes.bool,

// Additional styles to add after local styles
style: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.object),
PropTypes.object,
]),

...windowDimensionsPropTypes,

/** localization props */
Expand Down
6 changes: 0 additions & 6 deletions src/pages/home/report/reportActionFragmentPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,4 @@ export default PropTypes.shape({

// An additional avatar url - not the main avatar url but used within a message.
iconUrl: PropTypes.string,

// Additional styles to add after local styles
style: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.object),
PropTypes.object,
]),
});

0 comments on commit 47a776b

Please sign in to comment.