content: import React from 'react';
  import { ThemeProvider } from '@material-ui/core/styles';
  import CssBaseline from '@material-ui/core/CssBaseline';
  import theme from './theme';
  
  export default function withRoot(Component) {
    function WithRoot(props) {
      return (
        <ThemeProvider theme={theme}>
          {/* CssBaseline kickstart an elegant, consistent, and simple baseline to build upon. */}
          <CssBaseline />
          <Component {...props} />
        </ThemeProvider>
      );
    }
  
    return WithRoot;
  }
  