@trendmicro/react-navs
Advanced tools
Comparing version 0.11.2 to 0.11.3
@@ -1,2 +0,2 @@ | ||
/*! react-navs v0.11.2 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-navs */ | ||
/*! react-navs v0.11.3 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-navs */ | ||
module.exports = | ||
@@ -743,2 +743,6 @@ /******/ (function(modules) { // webpackBootstrap | ||
var getComponentType = function getComponentType(Component) { | ||
return Component ? _react2.default.createElement(Component, null).type : undefined; | ||
}; | ||
var TabContent = (_temp = _class = function (_PureComponent) { | ||
@@ -766,3 +770,3 @@ _inherits(TabContent, _PureComponent); | ||
_react2.default.Children.map(children, function (child) { | ||
if (_react2.default.isValidElement(child) && child.type === _TabPane2.default) { | ||
if (_react2.default.isValidElement(child) && child.type === getComponentType(_TabPane2.default)) { | ||
var active = child.props.eventKey === activeKey; | ||
@@ -769,0 +773,0 @@ |
{ | ||
"name": "@trendmicro/react-navs", | ||
"version": "0.11.2", | ||
"version": "0.11.3", | ||
"description": "Trend Micro Components: React Navs", | ||
@@ -84,4 +84,4 @@ "main": "lib/index.js", | ||
"nib": "~1.1.2", | ||
"react": "~16.2.0", | ||
"react-dom": "~16.2.0", | ||
"react": "~16.4.2", | ||
"react-dom": "~16.4.2", | ||
"style-loader": "~0.19.1", | ||
@@ -88,0 +88,0 @@ "stylint": "~1.5.9", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
91475
958