Skip to content

Commit

Permalink
feat: Add path argument to onVisibilityToggle callback
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-c committed Oct 13, 2017
2 parents 7ac63e2 + c28567d commit 25cd134
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/react-sortable-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class ReactSortableTree extends Component {
treeData,
node: targetNode,
expanded: !targetNode.expanded,
path,
});
}

Expand Down

0 comments on commit 25cd134

Please sign in to comment.