Comparing version 0.16.0 to 0.16.1
@@ -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}) | - | |
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
33528