import 'react'; import { Bar } from '@antv/g2plot/lib/plots/bar'; import createPlot from '../createPlot'; import { BarOptions, polyfill } from './BarChart'; import warn from 'warning'; import { deepMix } from '@antv/util'; interface RangeBarOptions extends BarOptions{} export { RangeBarOptions }; export default createPlot(Bar, 'RangeBarChart', props => { warn(false, ' 即将在5.0后废弃,请使用替代。'); deepMix(props, { isRange: true, }); return polyfill(props); });