import React from 'react';
import ReactDOM from 'react-dom';
import { Benzin, ContentSection } from 'react-benzin';
import { Paper } from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';

const useStyles = makeStyles(theme => ({
  root: {
    margin: theme.spacing(4),
    padding: theme.spacing(2),
    minHeight: theme.spacing(60)
  }
}));


const App: React.FC = () => {
  const classes = useStyles();

  return (
    <Benzin>
      <Paper className={classes.root}>
        <ContentSection sectionName="famcs-kit">
          Hello, world!
        </ContentSection>
      </Paper>
    </Benzin>
  );
};


ReactDOM.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
  document.getElementById('root')
);

