UNPKG

616 BTypeScriptView Raw
1import 'react';
2import { TinyAreaOptions as Options } from '@antv/g2plot/lib/plots/tiny-area';
3import { BasePlotOptions } from '../createPlot';
4type Opt = Omit<Options, 'data'>;
5export interface TinyAreaOptions extends Opt, BasePlotOptions {
6 data: number[] | Record<string, any>[];
7 /** yField旧版g2Plot api,即将废弃请查看最新文档 */
8 yField?: string;
9 /** xField旧版g2Plot api,即将废弃请查看最新文档 */
10 xField?: string;
11}
12declare const _default: import("react").ForwardRefExoticComponent<TinyAreaOptions & import("react").RefAttributes<any>>;
13export default _default;