import 'react'; import { Area } from '@antv/g2plot/lib/plots/area'; import createPlot from '../createPlot'; import { polyfill, AreaOptions } from './AreaChart'; import warn from 'warning'; import { deepMix } from '@antv/util'; interface StackedAreaOptions extends AreaOptions {} export { StackedAreaOptions }; export default createPlot(Area, 'StackedAreaChart', props => { warn(false, ' 即将在5.0后废弃,请使用 替代。'); deepMix(props, { isStack: true, }); return polyfill(props); });