We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e95830 commit 8a1b651Copy full SHA for 8a1b651
README.md
@@ -80,8 +80,8 @@ class App extends React.Component {
80
done(null, nodes);
81
}, 1000);
82
}}
83
- selectable={true} // Defaults to true
84
- shouldSelectNode={(node) => { // Defaults to null
+ selectable={true}
+ shouldSelectNode={(node) => {
85
if (!node || (node === this.tree.getSelectedNode())) {
86
return false; // Prevent from deselecting the current node
87
}
0 commit comments