1import React from "react";
2import { makeStyles } from "@material-ui/core/styles";
3
4const useStyles = makeStyles((theme) => ({
5 root: {
6 backgroundColor: theme.palette.secondary.main
7 }
8}));
9
10export default function App() {
11 const classes = useStyles();
12 return (
13 <div className={classes.root}>
14 <h1>Hello CodeSandbox</h1>
15 <h2>Start editing to see some magic happen!</h2>
16 </div>
17 );
18}