Socket
Socket
Sign inDemoInstall

rc-tree

Package Overview
Dependencies
Maintainers
2
Versions
306
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tree - npm Package Compare versions

Comparing version 0.25.1 to 0.25.2

9

lib/TreeNode.js

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

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