Merge branch 'master' of github.com:airbnb/lottie-web
diff --git a/index.d.ts b/index.d.ts
index 394c4eb..ebebd61 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -53,13 +53,6 @@
className?: string;
};
-export type FilterSize = {
- width: number;
- height: number;
- x: number;
- y: number;
-};
-
export type SVGRendererConfig = BaseRendererConfig & {
title?: string;
description?: string;
@@ -69,7 +62,7 @@
viewBoxOnly?: boolean;
viewBoxSize?: string;
focusable?: boolean;
- filterSize?: FilterSize;
+ filterSize?: FilterSizeConfig;
};
export type CanvasRendererConfig = BaseRendererConfig & {
@@ -102,6 +95,13 @@
animationData?: any;
}
+export type FilterSizeConfig = {
+ width: string;
+ height: string;
+ x: string;
+ y: string;
+};
+
type LottiePlayer = {
play(name?: string): void;
pause(name?: string): void;