react-native-snackbar-component icon indicating copy to clipboard operation
react-native-snackbar-component copied to clipboard

Warning: Failed prop type: Invalid prop textMessage supplied to SnackbarComponent

Open balsick opened this issue 2 years ago • 0 comments

Solving issue #91.

The declared type for prop textMessage is not correctly working with memoized components supplied as prop for textMessage. The most proper type should be PropTypes.element instead of PropTypes.func.

Additionally, bottom could be set more specifically instead of just declaring them as object.

balsick avatar Jul 17 '23 08:07 balsick