rc-trigger
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -24,2 +24,9 @@ 'use strict'; | ||
render: function render() { | ||
if (_react2["default"].Children.count(this.props.children) > 1) { | ||
return _react2["default"].createElement( | ||
'div', | ||
null, | ||
this.props.children | ||
); | ||
} | ||
return _react2["default"].Children.only(this.props.children); | ||
@@ -26,0 +33,0 @@ } |
{ | ||
"name": "rc-trigger", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "base abstract trigger 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
32452
713