import React from 'react'; import { Grid, Paper, makeStyles, FormControl, InputLabel, Select, MenuItem } from '@material-ui/core'; import MainToolbar from '../MainToolbar'; import { chartTypes } from '../common/chartTypes'; import t from '../common/localization'; const useStyles = makeStyles(theme => ({ root: { height: '100%', display: 'flex', flexDirection: 'column', }, content: { flex: 1, overflow: 'auto', padding: theme.spacing(2), }, form: { padding: theme.spacing(1, 2, 2), }, chart: { padding: theme.spacing(1, 2, 2), marginTop: theme.spacing(1), }, })); const ReportLayoutPage = ({ reportFilterForm:ReportFilterForm, setItems, setType, showChartType, children }) => { const classes = useStyles(); return (