Skip to content

Commit

Permalink
[docs] Fix deprecated Typography variants warning in demos (#14156)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored and oliviertassinari committed Jan 11, 2019
1 parent 598132f commit 07bc075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/components/Demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ import Demo from './demo';
import { createMuiTheme } from "@material-ui/core/styles";
import { ThemeProvider } from "@material-ui/styles";
const theme = createMuiTheme();
const theme = createMuiTheme({ typography: { useNextVariants: true } });
ReactDOM.render(
<ThemeProvider theme={theme}>
Expand Down

0 comments on commit 07bc075

Please sign in to comment.