The properties for constructing a Lottie texture.

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

Hierarchy

  • TextureConstructorProps
    • LottieTextureConstructorProps

Properties

autoplay: boolean

Whether the animation should autoplay

false

children?: ComponentChildren
source: string

The Lottie animation JSON file.

files *.json