Comparing version 0.24.4 to 0.25.0
@@ -198,3 +198,3 @@ 'use strict'; | ||
} | ||
if (props.disabled) { | ||
if (props.disabled || props.disableCheckbox) { | ||
checkboxCls[prefixCls + '-checkbox-disabled'] = true; | ||
@@ -201,0 +201,0 @@ return _react2['default'].createElement( |
{ | ||
"name": "rc-tree", | ||
"version": "0.24.4", | ||
"version": "0.25.0", | ||
"description": "tree ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -95,2 +95,3 @@ # rc-tree | ||
|disabled | whether disabled the treeNode | bool | false | | ||
|disableCheckbox | whether disable the treeNode' checkbox | bool | false | | ||
|title | tree/subTree's title | String | '---' | | ||
@@ -97,0 +98,0 @@ |key | it's used with tree props's (default)ExpandedKeys/(default)CheckedKeys/(default)SelectedKeys. you'd better to set it, and it must be unique in the tree's all treeNodes | String | treeNode's position | |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
60549
124
0