react-native-activity-feed icon indicating copy to clipboard operation
react-native-activity-feed copied to clipboard

IconBadge showNumber prop is incorrectly typed

Open wodow opened this issue 4 years ago • 0 comments

IconBadge defines

  showNumber: PropTypes.number,

yet its default is false, at https://github.com/GetStream/react-native-activity-feed/blob/master/src/components/IconBadge.js#L16 and treated like a boolean at https://github.com/GetStream/react-native-activity-feed/blob/master/src/components/IconBadge.js#L53

Should be PropTypes.bool ?

wodow avatar Jan 28 '21 10:01 wodow