@lottiefiles/dotlottie-react
Advanced tools
Comparing version 0.6.5 to 0.7.0
@@ -6,11 +6,17 @@ import { Config, DotLottie } from '@lottiefiles/dotlottie-web'; | ||
type DotLottieReactProps = Omit<Config, 'canvas'> & ComponentProps<'canvas'> & { | ||
animationId?: string; | ||
autoResizeCanvas?: boolean; | ||
dotLottieRefCallback?: RefCallback<DotLottie>; | ||
playOnHover?: boolean; | ||
themeData?: string; | ||
themeId?: string; | ||
}; | ||
declare const DotLottieReact: ({ autoResizeCanvas, autoplay, backgroundColor, data, dotLottieRefCallback, loop, marker, mode, playOnHover, renderConfig, segment, speed, src, useFrameInterpolation, ...props }: DotLottieReactProps) => JSX.Element; | ||
declare const DotLottieReact: ({ animationId, autoResizeCanvas, autoplay, backgroundColor, data, dotLottieRefCallback, loop, marker, mode, playOnHover, renderConfig, segment, speed, src, themeData, themeId, useFrameInterpolation, ...props }: DotLottieReactProps) => JSX.Element; | ||
type DotLottieConfig = Omit<Config, 'canvas'> & { | ||
animationId?: string; | ||
autoResizeCanvas?: boolean; | ||
playOnHover?: boolean; | ||
themeData?: string; | ||
themeId?: string; | ||
}; | ||
@@ -17,0 +23,0 @@ interface UseDotLottieResult { |
{ | ||
"name": "@lottiefiles/dotlottie-react", | ||
"version": "0.6.5", | ||
"version": "0.7.0", | ||
"type": "module", | ||
@@ -41,3 +41,3 @@ "description": "React wrapper around the dotlottie-web library", | ||
"debounce": "^2.0.0", | ||
"@lottiefiles/dotlottie-web": "0.25.0" | ||
"@lottiefiles/dotlottie-web": "0.26.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
95379
2007
+ Added@lottiefiles/dotlottie-web@0.26.0(transitive)
- Removed@lottiefiles/dotlottie-web@0.25.0(transitive)