From 64b2ba485b727f18041d1786d04b95650508b236 Mon Sep 17 00:00:00 2001 From: GuiGu0101 Date: Mon, 2 Aug 2021 14:08:44 +0800 Subject: [PATCH] index.d.ts added options added path, renderer and assetsPath options --- index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.d.ts b/index.d.ts index 4cc2a1d..443450f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -4,8 +4,11 @@ declare module "lottie-react-web" { export interface LottieOptions { animationData: any; + path?: string; + assetsPath?: string; loop?: boolean; autoplay?: boolean; + renderer?: 'svg' | 'canvas' | 'html'; rendererSettings?: AnimationConfig["rendererSettings"]; }