Skip to content

Commit 67d8d56

Browse files
committed
1 parent 7f3f48a commit 67d8d56

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/components/Layout/Layout.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class Layout extends React.PureComponent {
187187
<Drawer
188188
open={leftDrawerOpen}
189189
onClose={this.handleLeftDrawerClose}
190-
type={!smallScreen ? leftDrawerType : 'temporary'}
190+
variant={!smallScreen ? leftDrawerType : 'temporary'}
191191
classes={{ paper: leftDrawerPaperClassnames }}
192192
{...leftDrawerProps}
193193
>
@@ -203,7 +203,7 @@ class Layout extends React.PureComponent {
203203
anchor="right"
204204
open={rightDrawerOpen}
205205
onClose={this.handleRightDrawerClose}
206-
type={!smallScreen ? rightDrawerType : 'temporary'}
206+
variant={!smallScreen ? rightDrawerType : 'temporary'}
207207
classes={{ paper: rightDrawerPaperClassnames }}
208208
{...rightDrawerProps}
209209
>

src/templates/AppBar/BasicAppBar/BasicAppBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class BasicAppBar extends React.PureComponent {
4242
);
4343
}
4444
return (
45-
<Typography type="title" color="inherit" className={classes.flex}>
45+
<Typography variant="title" color="inherit" className={classes.flex}>
4646
{title}
4747
</Typography>
4848
);

src/templates/Footer/BasicFooter/BasicFooter.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BasicFooter extends React.PureComponent {
2727
return <img src={logo} alt={title} className={classes.logoImage} />;
2828
}
2929
return (
30-
<Typography type="title" color="inherit" className={classes.flex}>
30+
<Typography variant="title" color="inherit" className={classes.flex}>
3131
{title}
3232
</Typography>
3333
);
@@ -39,7 +39,7 @@ class BasicFooter extends React.PureComponent {
3939
<Grid container alignItems="flex-end" justify="space-around" spacing={16}>
4040
<Grid item xs={12}>
4141
<div className={classes.message}>
42-
<Typography type="display3" color="inherit">
42+
<Typography variant="display3" color="inherit">
4343
{bigMessage}
4444
</Typography>
4545
</div>
@@ -53,10 +53,10 @@ class BasicFooter extends React.PureComponent {
5353
</Grid>
5454
<Grid item xs={12} md={4}>
5555
<Grid container direction="column" alignItems="center" spacing={0}>
56-
<Typography type="body1" color="inherit">
56+
<Typography variant="body1" color="inherit">
5757
{smallMessage}
5858
</Typography>
59-
<Typography type="caption" color="inherit">
59+
<Typography variant="caption" color="inherit">
6060
{title} © {new Date().getFullYear()}
6161
</Typography>
6262
</Grid>

0 commit comments

Comments
 (0)