|
|
@@ -10,7 +10,7 @@ export interface LottieAdapter<P = Record<string, any>, S = Record<string, any>>
|
|
|
export interface LottieBaseProps {
|
|
|
width?: string;
|
|
|
height?: string;
|
|
|
- params: ArgsType<typeof lottie.loadAnimation>[0];
|
|
|
+ params: Partial<ArgsType<typeof lottie.loadAnimation>[0]>;
|
|
|
getAnimationInstance?: (instance: AnimationItem|null) => void;
|
|
|
getLottie?: (lottiePKG: typeof lottie) => void
|
|
|
|
|
|
@@ -57,4 +57,4 @@ class LottieFoundation <P = Record<string, any>, S = Record<string, any>> extend
|
|
|
|
|
|
}
|
|
|
|
|
|
-export default LottieFoundation;
|
|
|
+export default LottieFoundation;
|