UNPKG

@brizy/ui

Version:
18 lines (17 loc) 433 B
import { AnimationDirection } from "lottie-web"; import { FCC } from "../types"; export declare enum Renderer { svg = "svg", canvas = "canvas", html = "html" } export interface Props { animationData: unknown; renderer: keyof typeof Renderer; isLoop?: boolean; isAutoplay?: boolean; speed?: number; direction?: AnimationDirection; className?: string; } export declare const Lottie: FCC<Props>;