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

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

const DonutChart = (props: DonutChartProps) => {
  return <Doughnut {...props} />;
};

export type { DonutChartProps };
export default DonutChart;
