electrum-arc
Advanced tools
Comparing version 1.11.3 to 1.11.4
@@ -48,3 +48,3 @@ 'use strict'; | ||
var items = _react2.default.Children.map(children, function (item) { | ||
return typeof item.type === 'function' ? _react2.default.addons.cloneWithProps(item, { kind: 'menuItem' }) : item; | ||
return typeof item.type === 'function' ? _react2.default.cloneElement(item, { kind: 'menuItem' }) : item; | ||
}); | ||
@@ -51,0 +51,0 @@ |
{ | ||
"name": "electrum-arc", | ||
"version": "1.11.3", | ||
"version": "1.11.4", | ||
"description": "Agnostic Reactive Components for Electrum", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -15,3 +15,3 @@ 'use strict'; | ||
item => (typeof item.type === 'function') ? | ||
React.addons.cloneWithProps (item, {kind: 'menuItem'}) : item); | ||
React.cloneElement (item, {kind: 'menuItem'}) : item); | ||
@@ -18,0 +18,0 @@ return ( |
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
52447