Last active
March 3, 2018 00:57
-
-
Save kireerik/7833d05e31a128ed17d2923afbe67f75 to your computer and use it in GitHub Desktop.
Material-UI: Get started (Fast!) ⚡ React 16+
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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