mirror of
https://github.com/status-im/react-native.git
synced 2025-02-25 23:55:23 +00:00
Fix PanResponder example code
Summary: Fixes this:  Closes https://github.com/facebook/react-native/pull/1464 Reviewed By: @svcscm Differential Revision: D2471541 Pulled By: @vjeux
This commit is contained in:
parent
1ab650f958
commit
118cf51522
@ -45,7 +45,7 @@ var currentCentroidY = TouchHistoryMath.currentCentroidY;
|
||||
*
|
||||
* ```
|
||||
* componentWillMount: function() {
|
||||
* this._panGesture = PanResponder.create({
|
||||
* this._panResponder = PanResponder.create({
|
||||
* // Ask to be the responder:
|
||||
* onStartShouldSetPanResponder: (evt, gestureState) => true,
|
||||
* onStartShouldSetPanResponderCapture: (evt, gestureState) => true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user