react-native-touchable-bounce icon indicating copy to clipboard operation
react-native-touchable-bounce copied to clipboard

undefined is not an object (evaluating 'React.PropTypes.shape')

Open VinceBT opened this issue 8 years ago • 5 comments

On RN version 0.27.2

<TouchableBounce>
  <Text>Test</Text>
</TouchableBounce>

Edit : A pull request has been opened for this already, please merge it.

VinceBT avatar Jun 19 '16 18:06 VinceBT

+1

kesyn avatar Aug 31 '16 13:08 kesyn

Still not solved?

priyesh9875 avatar Jan 03 '17 13:01 priyesh9875

The owner need to merge the PR but he does not answer

VinceBT avatar Jan 03 '17 14:01 VinceBT

Try this

(/) install prop-types: npm install prop-types --save

(/) update react-native-touchable-bounce/src/index.js with following line import { PropTypes } from 'prop-types';

(/) in react-native-touchable-bounce/src/index.js replace occurrences of React.PropTypes with PropTypes

gabebres avatar Dec 27 '18 07:12 gabebres

Please merge pull request . It has a solution to this issue.

arjunghimire avatar Aug 29 '19 17:08 arjunghimire