react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
13 lines (11 loc) • 350 B
JavaScript
import reanimatedJS from '../js-reanimated';
import { shouldBeUseWeb } from '../PlatformChecker';
import { NativeReanimated } from './NativeReanimated';
let exportedModule;
if (shouldBeUseWeb()) {
exportedModule = reanimatedJS;
} else {
exportedModule = new NativeReanimated();
}
export default exportedModule;
//# sourceMappingURL=index.js.map