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

rc-tabs

Package Overview
Dependencies
Maintainers
2
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tabs - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

9

lib/Nav.js

@@ -47,3 +47,4 @@ 'use strict';

onTabClick: _react.PropTypes.func,
onKeyDown: _react.PropTypes.func
onKeyDown: _react.PropTypes.func,
styles: _react.PropTypes.object
},

@@ -278,2 +279,3 @@

var tabBarExtraContent = props.tabBarExtraContent;
var styles = props.styles;

@@ -291,3 +293,3 @@ var tabs = this.getTabs();

}
inkBarNode = _react2["default"].createElement('div', { className: inkBarClass, key: 'inkBar', ref: 'inkBar' });
inkBarNode = _react2["default"].createElement('div', { style: styles.inkBar, className: inkBarClass, key: 'inkBar', ref: 'inkBar' });
}

@@ -367,3 +369,4 @@

ref: 'root',
onKeyDown: props.onKeyDown
onKeyDown: props.onKeyDown,
style: styles.bar
},

@@ -370,0 +373,0 @@ contents

@@ -63,3 +63,4 @@ 'use strict';

className: _react.PropTypes.string,
tabPosition: _react.PropTypes.string
tabPosition: _react.PropTypes.string,
styles: _react.PropTypes.object
},

@@ -78,3 +79,3 @@

contentStyle: {},
navStyle: {},
styles: {},
onTabClick: noop

@@ -232,2 +233,3 @@ };

var animation = props.animation;
var styles = props.styles;

@@ -279,3 +281,3 @@ var cls = (0, _classnames3["default"])((_classnames = {}, (0, _defineProperty3["default"])(_classnames, prefixCls, 1), (0, _defineProperty3["default"])(_classnames, prefixCls + '-' + tabPosition, 1), (0, _defineProperty3["default"])(_classnames, className, !!className), _classnames));

tabPosition: tabPosition,
style: props.navStyle,
styles: styles,
onTabClick: this.onTabClick,

@@ -282,0 +284,0 @@ tabMovingDirection: tabMovingDirection,

{
"name": "rc-tabs",
"version": "6.0.0",
"version": "6.0.1",
"description": "tabs ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

@@ -101,2 +101,8 @@ # rc-tabs

<tr>
<td>styles</td>
<td>{nav, inkBar, bar}</td>
<th>{}</th>
<td>inline styles</td>
</tr>
<tr>
<td>animation</td>

@@ -213,2 +219,2 @@ <td>String</td>

rc-tabs is released under the MIT license.
rc-tabs is released under the MIT license.
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