Fix typo in PanResponder documentation
Summary: The documentation said the config object expected `onResponderTerminationRequest` but it expects `onPanResponderTerminationRequest`. Closes https://github.com/facebook/react-native/pull/834 Github Author: Blixt <me@blixt.nyc> Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
parent
e193a13ef7
commit
f7aeefa521
|
@ -64,7 +64,7 @@ var currentCentroidY = TouchHistoryMath.currentCentroidY;
|
|||
* // The accumulated gesture distance since becoming responder is
|
||||
* // gestureState.d{x,y}
|
||||
* },
|
||||
* onResponderTerminationRequest: (evt, gestureState) => true,
|
||||
* onPanResponderTerminationRequest: (evt, gestureState) => true,
|
||||
* onPanResponderRelease: (evt, gestureState) => {
|
||||
* // The user has released all touches while this view is the
|
||||
* // responder. This typically means a gesture has succeeded
|
||||
|
|
Loading…
Reference in New Issue