import React from 'react';
import { makeStyles } from '@material-ui/core';
import {
LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer,
} from 'recharts';
const CustomizedAxisTick = ({ x, y, payload }) => {
if (!payload.value) {
return payload.value;
}
const parts = payload.value.split(' ');
return (
{parts[0]}
{parts[1]}
);
};
const useStyles = makeStyles((theme) => ({
chart: {
backgroundColor: theme.palette.colors.white,
},
}));
const Graph = ({ type, items }) => {
const classes = useStyles();
return (
} height={60} />
);
};
export default Graph;