File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed
packages/react-renderer-demo/src/app/src/components Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ const ComponentExampleText = (props) => {
13
13
14
14
const baseStructure = baseExamples . find ( item => item . component === component ) ;
15
15
16
- return < React . Fragment >
16
+ return ( < React . Fragment >
17
17
< ComponentExample activeMapper = { activeMapper } component = { component } />
18
- < baseStructure . ContentText activeMapper = { activeMapper } component = { component } /> ;
19
- </ React . Fragment > ;
18
+ < baseStructure . ContentText activeMapper = { activeMapper } component = { component } />
19
+ </ React . Fragment > ) ;
20
20
} ;
21
21
22
22
export default ComponentExampleText ;
Original file line number Diff line number Diff line change @@ -291,22 +291,12 @@ class ComponentExample extends Component {
291
291
direction = "row"
292
292
spacing = { 4 }
293
293
>
294
- < Grid item xs = { 4 } >
295
- < Typography variant = "h5" gutterBottom >
294
+ < Grid item xs = { 12 } md = { 4 } >
295
+ < Grid item xs = { 12 } >
296
+ < Typography variant = "h5" gutterBottom >
296
297
Schema
297
- </ Typography >
298
- </ Grid >
299
- < Grid item xs = { 3 } >
300
- < Typography variant = "h5" gutterBottom >
301
- Props
302
- </ Typography >
303
- </ Grid >
304
- < Grid item xs = { 5 } >
305
- < Typography variant = "h5" gutterBottom >
306
- Preview
307
- </ Typography >
308
- </ Grid >
309
- < Grid item xs = { 4 } >
298
+ </ Typography >
299
+ </ Grid >
310
300
< div style = { { background : '#1d1f21' , position : 'relative' } } >
311
301
< Grid item xs = { 12 } container = { true } justify = 'flex-end' style = { { position : 'absolute' , zIndex : 100 } } >
312
302
< CopyToClipboard text = { editedValue } onCopy = { this . handleTooltipOpen } >
@@ -334,14 +324,24 @@ class ComponentExample extends Component {
334
324
/>
335
325
</ div >
336
326
</ Grid >
337
- < Grid item xs = { 3 } >
327
+ < Grid item xs = { 12 } md = { 3 } >
328
+ < Grid item xs = { 12 } >
329
+ < Typography variant = "h5" gutterBottom >
330
+ Props
331
+ </ Typography >
332
+ </ Grid >
338
333
< Card square >
339
334
< CardContent >
340
335
{ this . renderActions ( variants ) }
341
336
</ CardContent >
342
337
</ Card >
343
338
</ Grid >
344
- < Grid item xs = { 5 } >
339
+ < Grid item xs = { 12 } md = { 5 } >
340
+ < Grid item xs = { 12 } >
341
+ < Typography variant = "h5" gutterBottom >
342
+ Preview
343
+ </ Typography >
344
+ </ Grid >
345
345
< Card square style = { { overflow : 'initial' } } >
346
346
< div style = { { padding : 8 } } >
347
347
< FormControl component = "fieldset" >
You can’t perform that action at this time.
0 commit comments