UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

16 lines (14 loc) 583 B
import * as Animated from './Animated'; import webGlobalIsInitialized from './reanimated2/js-reanimated/global'; if (!webGlobalIsInitialized) { /* `webGlobalIsInitialized` should always be `true`, but we need to use `webGlobalIsInitialized` somewhere to ensure function execution, in another way, the bundler can remove unused variables. */ console.error('[Reanimated] Unable to initialize global objects for web.'); } // @ts-ignore backward compatibility with treeshaking export * from './reanimated1'; export * from './reanimated2'; export default Animated;