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.5.9 to 0.6.0

21

dist/index.d.ts

@@ -16,2 +16,21 @@ import { Config, DotLottie } from '@lottiefiles/dotlottie-web';

export { DotLottieReact, type DotLottieReactProps };
/**
* Copyright 2023 Design Barn Inc.
*/
type DotLottieConfig = Omit<Config, 'canvas'> & {
autoResizeCanvas?: boolean;
playOnHover?: boolean;
};
interface UseDotLottieResult {
DotLottieComponent: (props: ComponentProps<'canvas'>) => JSX.Element;
canvas: HTMLCanvasElement | null;
container: HTMLDivElement | null;
dotLottie: DotLottie | null;
setCanvasRef: RefCallback<HTMLCanvasElement>;
setContainerRef: RefCallback<HTMLDivElement>;
}
declare const useDotLottie: (config?: DotLottieConfig) => UseDotLottieResult;
declare const setWasmUrl: (url: string) => void;
export { type DotLottieConfig, DotLottieReact, type DotLottieReactProps, type UseDotLottieResult, setWasmUrl, useDotLottie };

2

package.json
{
"name": "@lottiefiles/dotlottie-react",
"version": "0.5.9",
"version": "0.6.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "React wrapper around the dotlottie-web library",

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