The properties for constructing a Lottie canvas element.

interface LottieCanvasConstructorProps {
    autoplay: boolean;
    children?: ComponentChildren;
    innerText?: string;
    source: string;
}

Hierarchy (view full)

Properties

autoplay: boolean

Whether the animation should autoplay

false

children?: ComponentChildren
innerText?: string
source: string

The Lottie animation JSON file.

files *.json