Created
July 11, 2021 13:23
-
-
Save mdtaju/45f6f392379448664b3b37dd7001e466 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 from 'react'; | |
import Demo from './demo'; | |
import { createTheme, ThemeProvider } from '@material-ui/core/styles'; | |
const Theme = createTheme({ | |
palette: { | |
primary: { | |
main: '#d2691e', | |
}, | |
}, | |
}); | |
export default function App() { | |
return ( | |
<div> | |
<ThemeProvider theme={Theme}> | |
<Demo /> | |
</ThemeProvider> | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment