Skip to content

Instantly share code, notes, and snippets.

@kireerik
Last active March 3, 2018 00:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kireerik/7833d05e31a128ed17d2923afbe67f75 to your computer and use it in GitHub Desktop.
Save kireerik/7833d05e31a128ed17d2923afbe67f75 to your computer and use it in GitHub Desktop.
Material-UI: Get started (Fast!) ⚡ React 16+
class Main extends Component {
constructor(properties) {
super(properties)
this.muiTheme = getMuiTheme({
userAgent: properties.userAgent
})
}
render = () =>
<MuiThemeProvider muiTheme={this.muiTheme}></MuiThemeProvider>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment