Comparing version 6.0.0 to 6.0.1
@@ -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. |
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
46504
1270
219