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

var BarChart = withChartTheme(Bar, { borderWidth: 3 });

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

var BarChartWrapper = BarChartDoc || BarChart;

export { BarChartWrapper as BarChart };