From b0e3a32b65d7485b43befb1feec173f2a575fcd0 Mon Sep 17 00:00:00 2001 From: Ashutosh Bishnoi Date: Mon, 9 Nov 2020 12:30:41 +0530 Subject: Minor Report Layout Modifications --- modern/src/reports/ReportLayoutPage.js | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 modern/src/reports/ReportLayoutPage.js (limited to 'modern/src/reports/ReportLayoutPage.js') diff --git a/modern/src/reports/ReportLayoutPage.js b/modern/src/reports/ReportLayoutPage.js new file mode 100644 index 0000000..57a2cef --- /dev/null +++ b/modern/src/reports/ReportLayoutPage.js @@ -0,0 +1,46 @@ +import React, { useState } from 'react'; +import { Grid, Paper, makeStyles } from '@material-ui/core'; +import MainToolbar from '../MainToolbar'; + +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), + }, +})); + +const ReportLayoutPage = ({ reportFilterForm:ReportFilterForm, setItems, ...rest }) => { + const classes = useStyles(); + + const onResult = (data) => { + setItems(data); + } + return ( +
+ +
+ + + + + + + + {rest.children} + + +
+
+ ); +} + +export default ReportLayoutPage; -- cgit v1.2.3