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

react-lottie

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-lottie - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Change Log

<a name="0.1.1"></a>
## [0.1.1](https://github.com/chenqingspring/react-lottie/compare/v0.1.0...v0.1.1) (2017-07-07)
<a name="0.1.0"></a>

@@ -7,0 +12,0 @@ # [0.1.0](https://github.com/chenqingspring/react-lottie/compare/v0.0.8...v0.1.0) (2017-06-27)

3

dist/index.js

@@ -69,3 +69,4 @@ 'use strict';

autoplay: this.props.options.autoplay !== false,
animationData: this.props.options.animationData
animationData: this.props.options.animationData,
rendererSettings: this.props.options.rendererSettings
};

@@ -72,0 +73,0 @@ this.anim = _bodymovin2.default.loadAnimation(this.options);

{
"name": "react-lottie",
"version": "0.1.0",
"version": "0.1.1",
"description": "lottie animation view for React",

@@ -5,0 +5,0 @@ "repository": {

@@ -54,3 +54,11 @@ # Lottie Animation View for React ([Angular](https://github.com/chenqingspring/ng-lottie), [Vue](https://github.com/chenqingspring/vue-lottie))

const defaultOptions = {animationData: animationData};
const defaultOptions = {
loop: true,
autoplay: true,
animationData: animationData,
rendererSettings: {
preserveAspectRatio: xMidYMid slice
}
};
return <div>

@@ -57,0 +65,0 @@ <Lottie options={defaultOptions}

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