anchor-ui
Advanced tools
Comparing version 2.6.5 to 2.6.6
{ | ||
"name": "anchor-ui", | ||
"version": "2.6.5", | ||
"version": "2.6.6", | ||
"description": "React Component UI Kit", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -155,2 +155,8 @@ 'use strict'; | ||
var activeChild = childrenWithProps.find(function (child) { | ||
return child.props.value === value; | ||
}); | ||
var headerText = activeChild && activeChild.props && activeChild.props.text || value; | ||
return _react2.default.createElement( | ||
@@ -174,5 +180,3 @@ 'section', | ||
}, | ||
childrenWithProps.find(function (child) { | ||
return child.props.value === value; | ||
}).props.text, | ||
headerText, | ||
_react2.default.createElement( | ||
@@ -179,0 +183,0 @@ 'div', |
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
296725
5698