Skip to content

Commit 847da4e

Browse files
committed
Fixes defaultProps for separation (#13)
1 parent 508343d commit 847da4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tree/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Tree.defaultProps = {
299299
zoomable: true,
300300
scaleExtent: { min: 0.1, max: 1 },
301301
nodeSize: { x: 140, y: 140 },
302-
separation: { node: 1.2, leafNode: 0.9 },
302+
separation: { siblings: 1, nonSiblings: 2 },
303303
styles: {
304304
nodes: {
305305
node: {

0 commit comments

Comments
 (0)