Skip to content

Commit 8381df0

Browse files
committed
Correct type
1 parent 90bb817 commit 8381df0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-native-gesture-handler/src/v3/components/GestureButtons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import type {
88
RectButtonProps,
99
} from './GestureButtonsProps';
1010

11-
import type { GestureStateChangeEvent } from '../types';
11+
import type { GestureEvent } from '../types';
1212
import type { NativeViewHandlerData } from '../hooks/gestures/native/useNativeGesture';
1313

14-
type CallbackEventType = GestureStateChangeEvent<NativeViewHandlerData>;
14+
type CallbackEventType = GestureEvent<NativeViewHandlerData>;
1515

1616
export const RawButton = createNativeWrapper(GestureHandlerButton, {
1717
shouldCancelWhenOutside: false,

0 commit comments

Comments
 (0)