UNPKG

@bounceapp/lottie

Version:

Lottie wrapper for React Native Web

13 lines 406 B
import type { LottieViewProps as RNLottieViewProps } from "lottie-react-native"; /** * The props type for {@link LottieView}. */ export type LottieViewProps = Pick<RNLottieViewProps, "source" | "style" | "loop" | "autoPlay"> & { onAnimationFinish?: () => void; }; export type LottieViewRef = { play: () => void; pause: () => void; reset: () => void; }; //# sourceMappingURL=types.d.ts.map