import 'chart.js/auto';
import { Bar } from 'react-chartjs-2';

import { type BarChartProps } from './types';

const BarChart = (props: BarChartProps) => {
  return <Bar {...props} />;
};

export type { BarChartProps };
export default BarChart;
