Skip to content

Commit f7aeefa

Browse files
committed
Fix typo in PanResponder documentation
Summary: The documentation said the config object expected `onResponderTerminationRequest` but it expects `onPanResponderTerminationRequest`. Closes #834 Github Author: Blixt <[email protected]> Test Plan: Imported from GitHub, without a `Test Plan:` line.
1 parent e193a13 commit f7aeefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/vendor/react/browser/eventPlugins/PanResponder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var currentCentroidY = TouchHistoryMath.currentCentroidY;
6464
* // The accumulated gesture distance since becoming responder is
6565
* // gestureState.d{x,y}
6666
* },
67-
* onResponderTerminationRequest: (evt, gestureState) => true,
67+
* onPanResponderTerminationRequest: (evt, gestureState) => true,
6868
* onPanResponderRelease: (evt, gestureState) => {
6969
* // The user has released all touches while this view is the
7070
* // responder. This typically means a gesture has succeeded

0 commit comments

Comments
 (0)