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.16.0 to 0.16.1

2

lib/Tree.js

@@ -78,3 +78,3 @@ 'use strict';

if ('selectedKeys' in nextProps) {
props.selectedKeys = nextProps.selectedKeys;
props.selectedKeys = nextProps.multiple ? nextProps.selectedKeys : [nextProps.selectedKeys[0]];
}

@@ -81,0 +81,0 @@ this.setState(props);

{
"name": "rc-tree",
"version": "0.16.0",
"version": "0.16.1",
"description": "tree ui component for react",

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

@@ -77,5 +77,5 @@ # rc-tree

|defaultExpandedKeys | expand specific treeNodes | String[] | false |
|checkedKeys | checked treeNodes | String[] | [] |
|checkedKeys | Controlled checked treeNodes(After setting, defaultCheckedKeys will not work) | String[] | [] |
|defaultCheckedKeys | default checked treeNodes | String[] | [] |
|selectedKeys | selected treeNodes | String[] | [] |
|selectedKeys | Controlled selected treeNodes(After setting, defaultSelectedKeys will not work) | String[] | [] |
|defaultSelectedKeys | default selected treeNodes | String[] | [] |

@@ -82,0 +82,0 @@ |onCheck | click the treeNode/checkbox to fire | function(e:{checked:bool,node,checkedKeys,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