react-animationjs
Advanced tools
Comparing version 2.3.3 to 2.4.0
@@ -136,3 +136,3 @@ 'use strict'; | ||
cur.filter(filterNullEls).map(function (child, i) { | ||
return _react2.default.cloneElement(child, { key: i, ref: _this2.addTarget }); | ||
return _react2.default.cloneElement(child, { key: i, ref: _this2.addTarget, innerRef: _this2.addTarget }); | ||
}) | ||
@@ -139,0 +139,0 @@ ); |
{ | ||
"name": "react-animationjs", | ||
"version": "2.3.3", | ||
"version": "2.4.0", | ||
"description": "An animation library that applies anime.js to it's react children", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -112,3 +112,3 @@ import React, { Component } from 'react'; | ||
.map((child, i) => | ||
React.cloneElement(child, { key: i, ref: this.addTarget }) | ||
React.cloneElement(child, { key: i, ref: this.addTarget, innerRef: this.addTarget }) | ||
) | ||
@@ -115,0 +115,0 @@ } |
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
86136