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.22.1 to 0.22.2

3

lib/Tree.js

@@ -257,2 +257,3 @@ 'use strict';

}
thisProps.onExpand(treeNode, expanded, expandedKeys);
}

@@ -666,2 +667,3 @@ }, {

defaultSelectedKeys: _react.PropTypes.arrayOf(_react.PropTypes.string),
onExpand: _react.PropTypes.func,
onCheck: _react.PropTypes.func,

@@ -694,2 +696,3 @@ onSelect: _react.PropTypes.func,

defaultSelectedKeys: [],
onExpand: noop,
onCheck: noop,

@@ -696,0 +699,0 @@ onSelect: noop,

2

package.json
{
"name": "rc-tree",
"version": "0.22.1",
"version": "0.22.2",
"description": "tree ui component for react",

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

@@ -73,2 +73,3 @@ # rc-tree

|defaultSelectedKeys | default selected treeNodes | String[] | [] |
|onExpand | fire on treeNode expand or not | function(treeNode, expanded, expandedKeys) | - |
|onCheck | click the treeNode/checkbox to fire | function(e:{checked:bool,node,checkedKeys,event,allCheckedNodes}) | - |

@@ -75,0 +76,0 @@ |onSelect | click the treeNode to fire | function(e:{selected:bool,node,selectedKeys,event}) | - |

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