react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
10 lines (7 loc) • 422 B
JavaScript
import { Image } from 'react-native';
import { createAnimatedComponent } from "../createAnimatedComponent/index.js";
// Since createAnimatedComponent return type is ComponentClass that has the props of the argument,
// but not things like NativeMethods, etc. we need to add them manually by extending the type.
export const AnimatedImage = createAnimatedComponent(Image);
//# sourceMappingURL=Image.js.map
;