Skip to content

Commit 25cd134

Browse files
authored
feat: Add path argument to onVisibilityToggle callback
2 parents 7ac63e2 + c28567d commit 25cd134

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
@@ -163,6 +163,7 @@ class ReactSortableTree extends Component {
163163
treeData,
164164
node: targetNode,
165165
expanded: !targetNode.expanded,
166+
path,
166167
});
167168
}
168169

0 commit comments

Comments
 (0)