import * as React from 'react'; import 'typeface-roboto'; import { createMuiTheme, makeStyles, Theme, ThemeProvider } from '@material-ui/core/styles'; import CssBaseline from '@material-ui/core/CssBaseline'; import Drawer from '@material-ui/core/Drawer'; import { Library } from './library'; const drawerWidth = 240; const useStyles = makeStyles((theme: Theme) => ({ root: { display: 'flex', }, drawer: { width: drawerWidth, flexShrink: 0, }, drawerPaper: { width: drawerWidth, }, content: { flexGrow: 1, padding: theme.spacing(3), }, })); function EditorLayout(): JSX.Element { const classes = useStyles(); return (