diff options
author | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-04-07 16:07:03 +0530 |
---|---|---|
committer | Ashutosh Bishnoi <mail2bishnoi@gmail.com> | 2021-04-07 16:07:03 +0530 |
commit | 63f25d26f42f41492a3addea856fc81d3fe73896 (patch) | |
tree | 44fbe4e92c6a91c770426c80da44e8ce7bafbc88 /modern/src/reports/TripReportPage.js | |
parent | e7245fc142f6aa14e70036c0056c498971944cf9 (diff) | |
download | trackermap-web-63f25d26f42f41492a3addea856fc81d3fe73896.tar.gz trackermap-web-63f25d26f42f41492a3addea856fc81d3fe73896.tar.bz2 trackermap-web-63f25d26f42f41492a3addea856fc81d3fe73896.zip |
Adding background paper components to reports
Diffstat (limited to 'modern/src/reports/TripReportPage.js')
-rw-r--r-- | modern/src/reports/TripReportPage.js | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/modern/src/reports/TripReportPage.js b/modern/src/reports/TripReportPage.js index 45a7786c..5360e733 100644 --- a/modern/src/reports/TripReportPage.js +++ b/modern/src/reports/TripReportPage.js @@ -5,6 +5,7 @@ import { formatDistance, formatSpeed, formatHours, formatDate, formatVolume } fr import ReportFilter from './ReportFilter'; import ReportLayoutPage from './ReportLayoutPage'; import { useAttributePreference } from '../common/preferences'; +import { Paper } from '@material-ui/core'; const Filter = ({ setItems }) => { @@ -111,12 +112,14 @@ const TripReportPage = () => { return ( <ReportLayoutPage filter={<Filter setItems={setItems} />}> - <DataGrid - rows={items} - columns={columns} - hideFooter - autoHeight - getRowId={() => Math.random()} /> + <Paper> + <DataGrid + rows={items} + columns={columns} + hideFooter + autoHeight + getRowId={() => Math.random()} /> + </Paper> </ReportLayoutPage> ); } |