File tree 1 file changed +4
-7
lines changed 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { connect } from 'react-redux' ;
2
+ import { JsonForms } from '@jsonforms/react' ;
2
3
import React from 'react' ;
3
4
import Grid from "@material-ui/core/Grid" ;
4
5
import Typography from "@material-ui/core/Typography" ;
5
6
import withStyles from "@material-ui/core/styles/withStyles" ;
6
7
import { getData } from '@jsonforms/core' ;
7
- import { JsonForms } from '@jsonforms/react' ;
8
8
import logo from './logo.svg' ;
9
9
import './App.css' ;
10
10
11
11
const styles = {
12
- container : {
13
- padding : '2em'
14
- } ,
15
12
title : {
16
13
textAlign : 'center' ,
17
14
padding : '0.25em'
@@ -20,7 +17,7 @@ const styles = {
20
17
display : 'flex' ,
21
18
justifyContent : 'center' ,
22
19
borderRadius : '0.25em' ,
23
- backgroundColor : '#cecece'
20
+ backgroundColor : '#cecece' ,
24
21
} ,
25
22
demoform : {
26
23
margin : 'auto'
@@ -38,8 +35,8 @@ const App = ({ classes, dataAsString }) => (
38
35
</ header >
39
36
</ div >
40
37
41
- < Grid container justify = { 'center' } spacing = { 24 } className = { classes . container } >
42
- < Grid item sm = { 3 } >
38
+ < Grid container justify = { 'center' } spacing = { 24 } >
39
+ < Grid item sm = { 6 } >
43
40
< Typography
44
41
variant = { 'display1' }
45
42
className = { classes . title }
You can’t perform that action at this time.
0 commit comments