File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ class Layout extends React.PureComponent {
187
187
< Drawer
188
188
open = { leftDrawerOpen }
189
189
onClose = { this . handleLeftDrawerClose }
190
- type = { ! smallScreen ? leftDrawerType : 'temporary' }
190
+ variant = { ! smallScreen ? leftDrawerType : 'temporary' }
191
191
classes = { { paper : leftDrawerPaperClassnames } }
192
192
{ ...leftDrawerProps }
193
193
>
@@ -203,7 +203,7 @@ class Layout extends React.PureComponent {
203
203
anchor = "right"
204
204
open = { rightDrawerOpen }
205
205
onClose = { this . handleRightDrawerClose }
206
- type = { ! smallScreen ? rightDrawerType : 'temporary' }
206
+ variant = { ! smallScreen ? rightDrawerType : 'temporary' }
207
207
classes = { { paper : rightDrawerPaperClassnames } }
208
208
{ ...rightDrawerProps }
209
209
>
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class BasicAppBar extends React.PureComponent {
42
42
) ;
43
43
}
44
44
return (
45
- < Typography type = "title" color = "inherit" className = { classes . flex } >
45
+ < Typography variant = "title" color = "inherit" className = { classes . flex } >
46
46
{ title }
47
47
</ Typography >
48
48
) ;
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class BasicFooter extends React.PureComponent {
27
27
return < img src = { logo } alt = { title } className = { classes . logoImage } /> ;
28
28
}
29
29
return (
30
- < Typography type = "title" color = "inherit" className = { classes . flex } >
30
+ < Typography variant = "title" color = "inherit" className = { classes . flex } >
31
31
{ title }
32
32
</ Typography >
33
33
) ;
@@ -39,7 +39,7 @@ class BasicFooter extends React.PureComponent {
39
39
< Grid container alignItems = "flex-end" justify = "space-around" spacing = { 16 } >
40
40
< Grid item xs = { 12 } >
41
41
< div className = { classes . message } >
42
- < Typography type = "display3" color = "inherit" >
42
+ < Typography variant = "display3" color = "inherit" >
43
43
{ bigMessage }
44
44
</ Typography >
45
45
</ div >
@@ -53,10 +53,10 @@ class BasicFooter extends React.PureComponent {
53
53
</ Grid >
54
54
< Grid item xs = { 12 } md = { 4 } >
55
55
< Grid container direction = "column" alignItems = "center" spacing = { 0 } >
56
- < Typography type = "body1" color = "inherit" >
56
+ < Typography variant = "body1" color = "inherit" >
57
57
{ smallMessage }
58
58
</ Typography >
59
- < Typography type = "caption" color = "inherit" >
59
+ < Typography variant = "caption" color = "inherit" >
60
60
{ title } © { new Date ( ) . getFullYear ( ) }
61
61
</ Typography >
62
62
</ Grid >
You can’t perform that action at this time.
0 commit comments