import React, { forwardRef } from "react"; import { View, StyleProp, ViewStyle } from "react-native"; import LottieView, { AnimationObject } from "lottie-react-native"; type Props = { style?: StyleProp; className?: string; resizeMode?: "cover" | "contain" | "center"; source: string | AnimationObject | { uri: string }; autoPlay?: boolean; speed?: number; loop?: boolean; }; const LottieAnimation = forwardRef( ( { style, className, source, autoPlay = true, loop = true, resizeMode = "cover", speed = 1, ...rest }, ref ) => { return ( ); } ); export default LottieAnimation;