import React, { FC } from 'react'; import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer, } from 'recharts'; import withTitle from './withTitle'; interface Props { data: any[]; // TODO: types } const ChartBar: FC = ({ data }) => ( ); export default withTitle(ChartBar);