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 9cadbc4 commit f606bedCopy full SHA for f606bed
demo/src/App.css
@@ -88,14 +88,8 @@
88
}
89
90
/* Custom node classes */
91
-.my-root-node {
92
- fill: red;
93
-}
94
-.my-branch-node {
95
- fill: yellow
96
97
-.my-leaf-node {
98
- fill: green;
+.demo-node > circle {
+ fill: #2d3748;
99
100
101
/* Custom path classes */
demo/src/App.js
@@ -570,6 +570,8 @@ class App extends Component {
570
? rd3tProps => this.state.renderCustomNodeElement(rd3tProps, this.state)
571
: undefined
572
573
+ rootNodeClassName="demo-node"
574
+ branchNodeClassName="demo-node"
575
orientation={this.state.orientation}
576
translate={{ x: this.state.translateX, y: this.state.translateY }}
577
pathFunc={this.state.pathFunc}
0 commit comments