@@ -35,8 +35,7 @@ export default class CustomEditor extends Component {
3535 }
3636 < Info attr = "title" >
3737 < p >
38- This custom editor demonstrates the general-purpose container
39- and field components.
38+ This custom editor demonstrates the general-purpose container and field components.
4039 </ p >
4140 < p >
4241 This is an < code > Info</ code > component.
@@ -48,47 +47,27 @@ export default class CustomEditor extends Component {
4847 label = "Dropdown"
4948 attr = "xaxis.title"
5049 show
51- options = { [
52- { label : 'Yes' , value : 'yes' } ,
53- { label : 'No' , value : 'no' } ,
54- ] }
50+ options = { [ { label : 'Yes' , value : 'yes' } , { label : 'No' , value : 'no' } ] }
5551 />
5652 < Radio
5753 label = "Radio"
5854 attr = "yaxis.title"
5955 show
60- options = { [
61- { label : 'Yes' , value : 'yes' } ,
62- { label : 'No' , value : 'no' } ,
63- ] }
56+ options = { [ { label : 'Yes' , value : 'yes' } , { label : 'No' , value : 'no' } ] }
6457 />
6558 < Flaglist
6659 label = "Flaglist"
6760 attr = "titlefont.family"
6861 show
69- options = { [
70- { label : 'Yes' , value : 'y' } ,
71- { label : 'No' , value : 'n' } ,
72- ] }
62+ options = { [ { label : 'Yes' , value : 'y' } , { label : 'No' , value : 'n' } ] }
7363 />
7464 < ColorPicker label = "ColorPicker" attr = "plot_bgcolor" show />
7565 < TextEditor attr = "title" label = "TextEditor default" />
76- < TextEditor
77- attr = "title"
78- label = "TextEditor richTextOnly"
79- richTextOnly
80- />
81- < TextEditor attr = "title" label = "TextEditor htmlOnly" htmlOnly />
82- < TextEditor attr = "title" label = "TextEditor latexOnly" latexOnly />
8366 </ PlotlySection >
8467 </ PlotlyFold >
8568 </ LayoutPanel >
8669 < SingleSidebarItem >
87- < Button
88- variant = "primary"
89- label = "save"
90- onClick = { ( ) => alert ( 'save button clicked!' ) }
91- />
70+ < Button variant = "primary" label = "save" onClick = { ( ) => alert ( 'save button clicked!' ) } />
9271 </ SingleSidebarItem >
9372 < SingleSidebarItem >
9473 < Button
0 commit comments