Created
October 31, 2018 17:15
-
-
Save rajatk16/6befedf3bbf7ff3b9ae63cb636f9afde to your computer and use it in GitHub Desktop.
This file contains 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
import React, {Component} from 'react'; | |
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; | |
import getMuiTheme from 'material-ui/styles/getMuiTheme'; | |
import Head from 'next/head'; | |
import { | |
PRIMARY_COLOR, | |
PRIMARY_COLOR_TWO, | |
PRIMARY_COLOR_THREE, | |
ACCENT_COLOR_ONE, | |
ACCENT_COLOR_TWO, | |
ACCENT_COLOR_THREE | |
} from './theme'; | |
const customMaterialUI = ComposedComponent => { | |
class HOC extends Component { | |
render() { | |
return ( | |
) | |
} | |
} | |
return HOC; | |
} | |
export default customMaterialUI; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment