Skip to content

Commit

Permalink
Merge pull request #17 from Stremio/fix/react-native-icon-prop
Browse files Browse the repository at this point in the history
fix(react-native): use string for icon prop
  • Loading branch information
tymmesyde authored Aug 7, 2023
2 parents ca2f921 + 1f91698 commit 8d8a80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-native/Icon.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const RCTIconInterface = {
name: 'Icon',
propTypes: {
...View.propTypes,
icon: PropTypes.number.isRequired,
icon: PropTypes.string.isRequired,
color: PropTypes.string.isRequired
}
};
Expand Down

0 comments on commit 8d8a80d

Please sign in to comment.