@bounceapp/lottie
Version:
Lottie wrapper for React Native Web
27 lines • 1.21 kB
TypeScript
import { StoryObj } from "@storybook/react-webpack5";
import React from "react";
import { LottieViewProps } from "./types";
declare const _default: {
title: string;
component: React.ForwardRefExoticComponent<Pick<import("lottie-react-native").LottieViewProps, "source" | "style" | "loop" | "autoPlay"> & {
onAnimationFinish?: () => void;
} & React.RefAttributes<import("./types").LottieViewRef>>;
parameters: {
viewMode: string;
layout: string;
};
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
source: string | import("lottie-react-native").AnimationObject | {
uri: string;
};
style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
loop?: boolean | undefined;
autoPlay?: boolean | undefined;
onAnimationFinish?: (() => void) | undefined;
ref?: React.Ref<import("./types").LottieViewRef> | undefined;
key?: React.Key | null | undefined;
}>) => React.JSX.Element)[];
};
export default _default;
export declare const Default: StoryObj<LottieViewProps>;
//# sourceMappingURL=Lottie.stories.d.ts.map