Skip to content

Commit 33c5c9a

Browse files
committed
v5.0.3
1 parent d5d19ac commit 33c5c9a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ Initial tree state is an object that describes a nested tree node structure, whi
4747
isOpen (optional): true (default) | false,
4848
children (optional): [array of treenode],
4949

50-
// internal key (auto generated), don't customize plz
50+
// internal keys (auto generated), plz don't include them in the initial data
51+
path: [], // path is an array of indexes to this node from root node
5152
_id: 0,
5253

5354
// not reserved, can carry any extra info about this node

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-folder-tree",
3-
"version": "5.0.2",
3+
"version": "5.0.3",
44
"description": "customizable react folder tree library",
55
"main": "dist/react-folder-tree.bundle.js",
66
"files": [

0 commit comments

Comments
 (0)