@lottiefiles/dotlottie-react
Advanced tools
Comparing version 0.3.2 to 0.4.0
@@ -14,4 +14,4 @@ import { Config, DotLottie } from '@lottiefiles/dotlottie-web'; | ||
}; | ||
declare const DotLottieReact: ({ autoResizeCanvas, autoplay, backgroundColor, data, dotLottieRefCallback, loop, mode, playOnHover, renderConfig, segments, speed, src, useFrameInterpolation, ...props }: DotLottieReactProps) => JSX.Element; | ||
declare const DotLottieReact: ({ autoResizeCanvas, autoplay, backgroundColor, data, dotLottieRefCallback, loop, mode, playOnHover, renderConfig, segment, speed, src, useFrameInterpolation, ...props }: DotLottieReactProps) => JSX.Element; | ||
export { DotLottieReact, type DotLottieReactProps }; |
{ | ||
"name": "@lottiefiles/dotlottie-react", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"type": "module", | ||
@@ -44,3 +44,3 @@ "description": "React wrapper around the dotlottie-web library", | ||
"debounce": "^2.0.0", | ||
"@lottiefiles/dotlottie-web": "0.16.0" | ||
"@lottiefiles/dotlottie-web": "0.17.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "devDependencies": { |
@@ -83,3 +83,3 @@ # @lottiefiles/dotlottie-react | ||
| `backgroundColor` | string | | undefined | Background color of the canvas. Accepts 6-digit or 8-digit hex color string (e.g., "#000000", "#000000FF"), | | | ||
| `segments` | \[number, number] | | \[0, totalFrames - 1] | Animation segments. Accepts an array of two numbers, where the first number is the start frame and the second number is the end frame. | | | ||
| `segment` | \[number, number] | | \[0, totalFrames - 1] | Animation segment. Accepts an array of two numbers, where the first number is the start frame and the second number is the end frame. | | | ||
| `renderConfig` | RenderConfig | | `{}` | Configuration for rendering the animation. | | | ||
@@ -86,0 +86,0 @@ | `playOnHover` | boolean | | false | Determines if the animation should play on mouse hover and pause on mouse out. | | |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93641
+ Added@lottiefiles/dotlottie-web@0.17.0(transitive)
- Removed@lottiefiles/dotlottie-web@0.16.0(transitive)