Skip to content

Commit 8a1b651

Browse files
committed
Update README.md
1 parent 0e95830 commit 8a1b651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ class App extends React.Component {
8080
done(null, nodes);
8181
}, 1000);
8282
}}
83-
selectable={true} // Defaults to true
84-
shouldSelectNode={(node) => { // Defaults to null
83+
selectable={true}
84+
shouldSelectNode={(node) => {
8585
if (!node || (node === this.tree.getSelectedNode())) {
8686
return false; // Prevent from deselecting the current node
8787
}

0 commit comments

Comments
 (0)