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 f749d43 commit 3803c24Copy full SHA for 3803c24
demo/src/App.js
@@ -586,11 +586,11 @@ class App extends Component {
586
<div ref={tc => (this.treeContainer = tc)} className="tree-container">
587
<Tree
588
data={this.state.data}
589
- // renderCustomNodeElement={
590
- // this.state.renderCustomNodeElement
591
- // ? rd3tProps => this.state.renderCustomNodeElement(rd3tProps, this.state)
592
- // : undefined
593
- // }
+ renderCustomNodeElement={
+ this.state.renderCustomNodeElement
+ ? rd3tProps => this.state.renderCustomNodeElement(rd3tProps, this.state)
+ : undefined
+ }
594
rootNodeClassName="demo-node"
595
branchNodeClassName="demo-node"
596
orientation={this.state.orientation}
0 commit comments