UNPKG

596 BPlain TextView Raw
1import { View, ScrollView as RNScrollView } from 'react-native';
2import { State } from './State';
3import { Directions } from './Directions';
4
5const NOOP = () => {
6 // do nothing
7};
8const ScrollView = RNScrollView;
9const PanGestureHandler = View;
10const attachGestureHandler = NOOP;
11const createGestureHandler = NOOP;
12const dropGestureHandler = NOOP;
13const updateGestureHandler = NOOP;
14
15export default {
16 ScrollView,
17 PanGestureHandler,
18 attachGestureHandler,
19 createGestureHandler,
20 dropGestureHandler,
21 updateGestureHandler,
22 // probably can be removed
23 Directions,
24 State,
25} as const;