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

hadron-react-components

Package Overview
Dependencies
Maintainers
36
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hadron-react-components - npm Package Compare versions

Comparing version 3.0.3 to 3.0.5

9

lib/tab-nav-bar.js

@@ -115,3 +115,10 @@ 'use strict';

value: function renderActiveView() {
return this.props.views[this.state.activeTabIndex];
var idx = this.state.activeTabIndex;
return React.createElement(
'div',
{
'data-test-id': this.props.tabs[idx].toLowerCase().replace(/ /g, '-') + '-content',
className: 'tab' },
this.props.views[idx]
);
}

@@ -118,0 +125,0 @@

4

package.json

@@ -7,3 +7,3 @@ {

"homepage": "https://github.com/mongodb-js/hadron-react/packages/hadron-react-components",
"version": "3.0.3",
"version": "3.0.5",
"repository": {

@@ -50,3 +50,3 @@ "type": "git",

},
"gitHead": "a0d4b80a1bac2baf42203a18d28d7e8913f8fcb3"
"gitHead": "c79dc62c6061c0237a9a8b0c1e9905ec457bfaf2"
}

@@ -75,3 +75,10 @@ const React = require('react');

renderActiveView() {
return this.props.views[this.state.activeTabIndex];
const idx = this.state.activeTabIndex;
return (
<div
data-test-id={`${this.props.tabs[idx].toLowerCase().replace(/ /g, '-')}-content`}
className="tab">
{this.props.views[idx]}
</div>
);
}

@@ -78,0 +85,0 @@

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