rc-animate
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -307,5 +307,12 @@ 'use strict'; | ||
if (Component) { | ||
var passedProps = props; | ||
if (typeof Component === 'string') { | ||
passedProps = { | ||
className: props.className, | ||
style: props.style | ||
}; | ||
} | ||
return _react2["default"].createElement( | ||
Component, | ||
this.props, | ||
passedProps, | ||
children | ||
@@ -312,0 +319,0 @@ ); |
{ | ||
"name": "rc-animate", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "css-transition ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
23226
507