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

var LineChart = withChartTheme(Line);

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

var LineChartWrapper = LineChartDoc || LineChart;

export { LineChartWrapper as LineChart };