blob: 62979f7d542fa38b1c181b2dfd99839729e5c17d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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')
);
|