UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

21 lines (19 loc) 647 B
'use strict'; import { logger } from "../logger/index.js"; function noopFactory(defaultReturnValue) { return () => { 'worklet'; logger.warn('RNScreensTurboModule has not been found. Check that you have installed `react-native-screens@3.30.0` or newer in your project and rebuilt your app.'); return defaultReturnValue; }; } export const RNScreensTurboModule = global.RNScreensTurboModule || { startTransition: noopFactory({ topScreenId: -1, belowTopScreenId: -1, canStartTransition: false }), updateTransition: noopFactory(), finishTransition: noopFactory() }; //# sourceMappingURL=RNScreensTurboModule.js.map