64 lines
1.7 KiB
JavaScript
64 lines
1.7 KiB
JavaScript
"use strict";
|
|
|
|
import React from 'react';
|
|
import { TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, ScrollView, FlatList, Switch, TextInput, DrawerLayoutAndroid, View } from 'react-native';
|
|
import { State } from '../State';
|
|
import { Directions } from '../Directions';
|
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
const NOOP = () => {
|
|
// Do nothing
|
|
};
|
|
const PanGestureHandler = View;
|
|
const attachGestureHandler = NOOP;
|
|
const createGestureHandler = NOOP;
|
|
const dropGestureHandler = NOOP;
|
|
const updateGestureHandler = NOOP;
|
|
const flushOperations = NOOP;
|
|
const install = NOOP;
|
|
const NativeViewGestureHandler = View;
|
|
const TapGestureHandler = View;
|
|
const ForceTouchGestureHandler = View;
|
|
const LongPressGestureHandler = View;
|
|
const PinchGestureHandler = View;
|
|
const RotationGestureHandler = View;
|
|
const FlingGestureHandler = View;
|
|
export const RawButton = ({
|
|
enabled,
|
|
...rest
|
|
}) => /*#__PURE__*/_jsx(TouchableNativeFeedback, {
|
|
disabled: enabled === false,
|
|
...rest,
|
|
children: /*#__PURE__*/_jsx(View, {})
|
|
});
|
|
export const BaseButton = RawButton;
|
|
export const RectButton = RawButton;
|
|
export const BorderlessButton = TouchableNativeFeedback;
|
|
export default {
|
|
TouchableHighlight,
|
|
TouchableNativeFeedback,
|
|
TouchableOpacity,
|
|
TouchableWithoutFeedback,
|
|
ScrollView,
|
|
FlatList,
|
|
Switch,
|
|
TextInput,
|
|
DrawerLayoutAndroid,
|
|
NativeViewGestureHandler,
|
|
TapGestureHandler,
|
|
ForceTouchGestureHandler,
|
|
LongPressGestureHandler,
|
|
PinchGestureHandler,
|
|
RotationGestureHandler,
|
|
FlingGestureHandler,
|
|
PanGestureHandler,
|
|
attachGestureHandler,
|
|
createGestureHandler,
|
|
dropGestureHandler,
|
|
updateGestureHandler,
|
|
flushOperations,
|
|
install,
|
|
// Probably can be removed
|
|
Directions,
|
|
State
|
|
};
|
|
//# sourceMappingURL=mocks.js.map
|