GT2/Ejectable/node_modules/react-native-gesture-handler/lib/module/mocks.js

25 lines
616 B
JavaScript
Raw Normal View History

2021-08-16 00:14:59 +00:00
import { View, ScrollView as RNScrollView } from 'react-native';
import { State } from './State';
import { Directions } from './Directions';
const NOOP = () => {// do nothing
};
const ScrollView = RNScrollView;
const PanGestureHandler = View;
const attachGestureHandler = NOOP;
const createGestureHandler = NOOP;
const dropGestureHandler = NOOP;
const updateGestureHandler = NOOP;
export default {
ScrollView,
PanGestureHandler,
attachGestureHandler,
createGestureHandler,
dropGestureHandler,
updateGestureHandler,
// probably can be removed
Directions,
State
};
//# sourceMappingURL=mocks.js.map