Skip to content

Commit 1c4643d

Browse files
author
Vasil Pachedzhiev
committed
Adding path argument to the props onToggleVisibility function.
1 parent 71f4757 commit 1c4643d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/react-sortable-tree.js

+1
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ class ReactSortableTree extends Component {
137137
treeData,
138138
node: targetNode,
139139
expanded: !targetNode.expanded,
140+
path
140141
});
141142
}
142143
}

0 commit comments

Comments
 (0)