UNPKG

lottie-react-native

Version:
23 lines 721 B
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import type { LottieViewProps } from '../types'; type Props = LottieViewProps & { containerStyle?: StyleProp<ViewStyle>; }; export declare class LottieView extends React.PureComponent<Props, {}> { static defaultProps: Props; private lottieAnimationViewRef; constructor(props: Props); play(startFrame?: number, endFrame?: number): void; reset(): void; pause(): void; resume(): void; private onAnimationFinish; private onAnimationFailure; private onAnimationLoaded; private captureRef; private renderLottieView; render(): React.ReactNode; } export {}; //# sourceMappingURL=index.d.ts.map