Skip to content

Commit f471675

Browse files
committed
bump 1.9.0
1 parent ef6d35d commit f471675

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

HISTORY.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# History
22
---
33

4-
## 1.8.0 / 2018-3-29
4+
## 1.9.0 / 2018-04-09
5+
- adjust `dragable` logic to make drag more smooth
6+
- fix `loadData` trigger twice when expand node
7+
- add `icon` prop on `Tree`
8+
- fix check by prop not work on `disabled` node
9+
10+
11+
## 1.8.0 / 2018-03-29
512
- code refactor and optimize logic
613
- add `disabled` API
714
- add `icon` API

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ see examples
7070
|checkedKeys | Controlled checked treeNodes(After setting, defaultCheckedKeys will not work). Note: parent and children nodes are associated, if the parent node's key exists, it all children node will be checked, and vice versa. When set checkable and checkStrictly, it should be an object, which contains checked array and halfChecked array. | String[]/{checked:Array<String>,halfChecked:Array<String>} | [] |
7171
|checkStrictly| check node precisely, parent and children nodes are not associated| bool | false |
7272
|defaultSelectedKeys | default selected treeNodes | String[] | [] |
73+
|icon | customize icon. When you pass component, whose render will receive full TreeNode props as component props | element/Function(props) | - |
7374
|selectedKeys | Controlled selected treeNodes(After setting, defaultSelectedKeys will not work) | String[] | [] |
7475
|onExpand | fire on treeNode expand or not | function(expandedKeys, {expanded: bool, node}) | - |
7576
|onCheck | click the treeNode/checkbox to fire | function(checkedKeys, e:{checked: bool, checkedNodes, node, event}) | - |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-tree",
3-
"version": "1.8.0",
3+
"version": "1.9.0",
44
"description": "tree ui component for react",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)