@the-control-group/ui
Advanced tools
Comparing version 1.7.16 to 1.7.18
@@ -40,9 +40,11 @@ import React, { Component } from 'react'; | ||
{React.Children.map(children, (child, i) => ( | ||
<TabNavItem | ||
{...child.props} | ||
tabId={i} | ||
changeTab={this.changeTab} | ||
active={i === activeIndex} | ||
width={`${100 / children.length}%`} | ||
/> | ||
//This check will allow empty nodes to be skipped over | ||
child && | ||
<TabNavItem | ||
{...child.props} | ||
tabId={i} | ||
changeTab={this.changeTab} | ||
active={i === activeIndex} | ||
width={`${100 / children.length}%`} | ||
/> | ||
))} | ||
@@ -49,0 +51,0 @@ </List> |
{ | ||
"name": "@the-control-group/ui", | ||
"version": "1.7.16", | ||
"version": "1.7.18", | ||
"description": "UI kit based on ReactJS for TCG projects", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
76021
1556