Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@the-control-group/ui

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@the-control-group/ui - npm Package Compare versions

Comparing version 1.7.16 to 1.7.18

16

lib/elements/TabbedContainer/TabbedContainer.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc