UNPKG

698 BTypeScriptView Raw
1import 'react';
2import { AreaOptions as Options } from '@antv/g2plot/lib/plots/area';
3import { BasePlotOptions } from '../createPlot';
4import { LengendAPIOptions, TooltipAPIOptions, LabelAPIOptions } from './core/interface';
5interface AreaOptions extends Options, BasePlotOptions {
6 legend?: LengendAPIOptions;
7 tooltip?: TooltipAPIOptions;
8 label?: LabelAPIOptions;
9 /** 旧版api,即将废弃 请使用seriesField替代 */
10 stackField?: string;
11}
12export declare const polyfill: (opt: AreaOptions) => AreaOptions;
13export { AreaOptions };
14declare const _default: import("react").ForwardRefExoticComponent<AreaOptions & import("react").RefAttributes<any>>;
15export default _default;