UNPKG

681 BTypeScriptView Raw
1import 'react';
2import { LineOptions as Options } from '@antv/g2plot/lib/plots/line';
3import { BasePlotOptions } from '../createPlot';
4import { LengendAPIOptions, TooltipAPIOptions, LabelAPIOptions } from './core/interface';
5type Opt = Omit<Options, 'point'>;
6interface LineOptions extends Opt, BasePlotOptions {
7 legend?: LengendAPIOptions;
8 tooltip?: TooltipAPIOptions;
9 label?: LabelAPIOptions;
10 point?: Options['point'] | boolean;
11}
12export declare const polyfill: (opt: LineOptions) => LineOptions;
13export { LineOptions };
14declare const _default: import("react").ForwardRefExoticComponent<LineOptions & import("react").RefAttributes<any>>;
15export default _default;