Comparing version 0.25.1 to 0.25.2
@@ -169,7 +169,2 @@ 'use strict'; | ||
var switcherCls = _defineProperty({}, prefixCls + '-switcher', true); | ||
if (props.disabled) { | ||
switcherCls[prefixCls + '-switcher-disabled'] = true; | ||
return _react2['default'].createElement('span', { className: (0, _classnames2['default'])(switcherCls) }); | ||
} | ||
if (!props.showLine) { | ||
@@ -183,2 +178,6 @@ switcherCls[prefixCls + '-noline_' + expandedState] = true; | ||
} | ||
if (props.disabled) { | ||
switcherCls[prefixCls + '-switcher-disabled'] = true; | ||
return _react2['default'].createElement('span', { className: (0, _classnames2['default'])(switcherCls) }); | ||
} | ||
return _react2['default'].createElement('span', { className: (0, _classnames2['default'])(switcherCls), onClick: this.onExpand }); | ||
@@ -185,0 +184,0 @@ } |
{ | ||
"name": "rc-tree", | ||
"version": "0.25.1", | ||
"version": "0.25.2", | ||
"description": "tree ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
61054
1529