import { Doughnut } from 'react-chartjs-2';
import { withChartTheme } from '../withChartTheme';

var DoughnutChart = withChartTheme(Doughnut, { classOpacity: 1, defaultScales: [] });

var DoughnutChartDoc = void 0;
if (process.env.NODE_ENV !== 'production') {
  DoughnutChartDoc = require('./doc').default(DoughnutChart); // eslint-disable-line global-require
}

var DoughnutChartWrapper = DoughnutChartDoc || DoughnutChart;

export { DoughnutChartWrapper as DoughnutChart };