From df01e1d751980843506946a194fa9f67489182b1 Mon Sep 17 00:00:00 2001 From: Ashutosh Bishnoi Date: Fri, 20 Nov 2020 13:56:14 +0530 Subject: Implementing chart report initial structure --- modern/src/reports/ChartType.js | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 modern/src/reports/ChartType.js (limited to 'modern/src/reports/ChartType.js') diff --git a/modern/src/reports/ChartType.js b/modern/src/reports/ChartType.js new file mode 100644 index 0000000..586ea88 --- /dev/null +++ b/modern/src/reports/ChartType.js @@ -0,0 +1,53 @@ +import React from 'react'; +import { FormControl, Select, MenuItem } from '@material-ui/core'; +import { makeStyles } from '@material-ui/core/styles'; +import t from '../common/localization'; + +const useStyles = makeStyles((theme) => ({ + formControl: { + minWidth: 160, + }, +})); + +const ChartType = ({ type, setType }) => { + const classes = useStyles(); + + return ( + + + + ); +} + +export default ChartType; -- cgit v1.2.3