Skip to content

Commit 46a9570

Browse files
committed
props extending
1 parent c445262 commit 46a9570

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/react-native-gesture-handler/src/v3/HostGestureDetector.web.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@ import { View } from 'react-native';
33
import RNGestureHandlerModule from '../RNGestureHandlerModule.web';
44
import { ActionType } from '../ActionType';
55
import { PropsRef } from '../web/interfaces';
6-
export interface GestureHandlerDetectorProps {
6+
export interface GestureHandlerDetectorProps extends PropsRef {
77
handlerTags: number[];
88
dispatchesAnimatedEvents: boolean;
99
moduleId: number;
1010
children?: React.ReactNode;
11-
onGestureHandlerEvent: () => void;
12-
onGestureHandlerAnimatedEvent?: () => void;
13-
onGestureHandlerStateChange: () => void;
14-
onGestureHandlerTouchEvent?: () => void;
1511
}
1612

1713
const HostGestureDetector = (props: GestureHandlerDetectorProps) => {

0 commit comments

Comments
 (0)