mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-06 01:00:27 +00:00
Fix declaration of onMoveShouldSetResponderCapture
This commit is contained in:
Vendored
+1
-1
@@ -1526,7 +1526,7 @@ export interface GestureResponderHandlers {
|
||||
* So if a parent View wants to prevent the child from becoming responder on a touch start,
|
||||
* it should have a onStartShouldSetResponderCapture handler which returns true.
|
||||
*/
|
||||
onMoveShouldSetResponderCapture?: () => void;
|
||||
onMoveShouldSetResponderCapture?: (event: GestureResponderEvent) => boolean;
|
||||
}
|
||||
|
||||
// @see https://facebook.github.io/react-native/docs/view.html#style
|
||||
|
||||
Reference in New Issue
Block a user