migrate textfield to mui4

This commit is contained in:
Barry Gitarts 2019-08-26 20:43:50 -04:00 committed by Barry G
parent 164f5c1d76
commit 69bf7a2b45
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ const useStyles = makeStyles((theme) => ({
gridTemplateRows: 'auto auto 5px',
},
margin: {
margin: theme.spacing.unit,
margin: theme.spacing(1),
},
root: {
gridColumnStart: 1,
@ -24,7 +24,7 @@ const useStyles = makeStyles((theme) => ({
gridRowStart: 2,
gridColumnStart: 1,
gridColumnEnd: 13,
marginTop: theme.spacing.unit * 3,
marginTop: theme.spacing(3),
},
},
multi: {
@ -32,7 +32,7 @@ const useStyles = makeStyles((theme) => ({
gridRowStart: 2,
gridColumnStart: 1,
gridColumnEnd: 13,
marginTop: theme.spacing.unit * 3,
marginTop: theme.spacing(3),
paddingRight: '1.2em'
},
},