react-native-gestures icon indicating copy to clipboard operation
react-native-gestures copied to clipboard

Does not work with React 15 or above because of PropTypes being moved to separate package

Open hamxabaig opened this issue 6 years ago • 1 comments

Hi there, first of all love <3 the library, it fits perfectly for my project but I'm not able to use it because the React's PropTypes were moved to their separate package prop-types.

I can send a PR to refactor the PropTypes part, right now I'm planning on using a fork of mine of this.

Thanks

hamxabaig avatar Apr 08 '18 17:04 hamxabaig

I am getting error of Cannot react property 'array' of undefined My code is <View> <GestureView gestures={[drag, pinch]} toStyle={(layout) => { return { top: layout.y, left: layout.x, width: layout.width, height: layout.height, transform: [{rotate: ${layout.rotate}deg}] } }} onError={this.onGestureError}> <Text>HEHE</Text> <Text>HEHE</Text> </GestureView> </View>

ahmermunaf avatar Jul 18 '18 10:07 ahmermunaf