Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lottiefiles/dotlottie-react

Package Overview
Dependencies
Maintainers
4
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lottiefiles/dotlottie-react - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

2

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc