create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
66 lines (63 loc) • 1.53 kB
text/typescript
import {
TouchableHighlight,
TouchableNativeFeedback,
TouchableOpacity,
TouchableWithoutFeedback,
ScrollView,
FlatList,
Switch,
TextInput,
DrawerLayoutAndroid,
View,
} from 'react-native';
import { State } from './State';
import { Directions } from './Directions';
const NOOP = () => {
// do nothing
};
const PanGestureHandler = View;
const attachGestureHandler = NOOP;
const createGestureHandler = NOOP;
const dropGestureHandler = NOOP;
const updateGestureHandler = NOOP;
const NativeViewGestureHandler = View;
const TapGestureHandler = View;
const ForceTouchGestureHandler = View;
const LongPressGestureHandler = View;
const PinchGestureHandler = View;
const RotationGestureHandler = View;
const FlingGestureHandler = View;
const RawButton = TouchableNativeFeedback;
const BaseButton = TouchableNativeFeedback;
const RectButton = TouchableNativeFeedback;
const BorderlessButton = TouchableNativeFeedback;
export default {
TouchableHighlight,
TouchableNativeFeedback,
TouchableOpacity,
TouchableWithoutFeedback,
ScrollView,
FlatList,
Switch,
TextInput,
DrawerLayoutAndroid,
NativeViewGestureHandler,
TapGestureHandler,
ForceTouchGestureHandler,
LongPressGestureHandler,
PinchGestureHandler,
RotationGestureHandler,
FlingGestureHandler,
RawButton,
BaseButton,
RectButton,
BorderlessButton,
PanGestureHandler,
attachGestureHandler,
createGestureHandler,
dropGestureHandler,
updateGestureHandler,
// probably can be removed
Directions,
State,
} as const;