File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
- import { List } from '@material-ui/core' ;
2
1
import React from 'react' ;
3
- import snapshots from './snapshots' ;
4
2
// Font size of the Controls label and Dropdowns
5
3
const controlStyles = {
6
4
fontSize : '12px' ,
@@ -53,10 +51,8 @@ const collectNodes = node => {
53
51
54
52
export default function LinkControls ( {
55
53
layout,
56
- orientation,
57
54
linkType,
58
55
stepPercent,
59
- selectedNode,
60
56
setLayout,
61
57
setOrientation,
62
58
setLinkType,
@@ -71,7 +67,7 @@ export default function LinkControls({
71
67
72
68
{ /* Controls for the layout selection */ }
73
69
< label > Layout:</ label >
74
-
70
+ { /*This is a non-breaking space - Prevents an automatic line break at this position */ }
75
71
< select
76
72
onClick = { e => e . stopPropagation ( ) }
77
73
onChange = { e => setLayout ( e . target . value ) }
@@ -89,7 +85,6 @@ export default function LinkControls({
89
85
< select
90
86
onClick = { e => e . stopPropagation ( ) }
91
87
onChange = { e => setOrientation ( e . target . value ) }
92
- // value={orientation}/
93
88
disabled = { layout === 'polar' }
94
89
style = { dropDownStyle }
95
90
>
@@ -113,7 +108,7 @@ export default function LinkControls({
113
108
114
109
{ /* Controls for the select selections. */ }
115
110
< label > Select:</ label >
116
- { /*This is a non-breaking space - Prevents an automatic line break at this position */ }
111
+
117
112
< input id = 'selectInput' list = 'nodeOptions' type = 'text' name = "nodeOptions"
118
113
onChange = { e => setSelectedNode ( e . target . value ) }
119
114
style = { dropDownStyle }
You can’t perform that action at this time.
0 commit comments