1 | import * as React from 'react';
|
2 | import { View } from 'react-native';
|
3 | import type { PanGestureHandlerProperties } from 'react-native-gesture-handler';
|
4 |
|
5 | const Dummy: any = ({ children }: { children: React.ReactNode }) => (
|
6 | <>{children}</>
|
7 | );
|
8 |
|
9 | export const PanGestureHandler =
|
10 | Dummy as React.ComponentType<PanGestureHandlerProperties>;
|
11 |
|
12 | export const GestureHandlerRootView = View;
|
13 |
|
14 | export const GestureState = {
|
15 | UNDETERMINED: 0,
|
16 | FAILED: 1,
|
17 | BEGAN: 2,
|
18 | CANCELLED: 3,
|
19 | ACTIVE: 4,
|
20 | END: 5,
|
21 | };
|
22 |
|
23 | export type { PanGestureHandlerGestureEvent } from 'react-native-gesture-handler';
|