mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Fix declaration of onMoveShouldSetResponderCapture
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -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