Comparing version 0.22.1 to 0.22.2
@@ -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, |
{ | ||
"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}) | - | |
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
58838
1486
122