create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
32 lines (28 loc) • 952 B
JavaScript
import { LogBox } from 'react-native';
import createAnimatedComponent from './createAnimatedComponent';
import {
addWhitelistedNativeProps,
addWhitelistedUIProps,
} from './ConfigHelper';
import * as reanimated1 from './reanimated1';
import ReanimatedComponents from './reanimated2/component';
const Animated = {
// components
...ReanimatedComponents,
createAnimatedComponent,
// configuration
addWhitelistedNativeProps,
addWhitelistedUIProps,
// reanimated 1
...reanimated1,
};
export * from './reanimated2';
export * from './reanimated1';
export default Animated;
// I think we can ignore this message as long as Gesture Handler doesn't
// try to load the Reanimated module. I figured it should be here instead of
// RNGH because this prevents the message from being displayed for all
// versions of RNGH.
LogBox.ignoreLogs([
'RCTBridge required dispatch_sync to load RNGestureHandlerModule. This may lead to deadlocks',
]);