import React from 'react';
import { withWidth } 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 Graph = ({ type, items }) => (
} height={60} />
);
export default withWidth()(Graph);