UNPKG

691 BTypeScriptView Raw
1import 'react';
2import { LiquidOptions as Options } from '@antv/g2plot/lib/plots/liquid';
3import { BasePlotOptions } from '../createPlot';
4declare type Opt = Omit<Options, 'percent'>;
5interface LiquidOptions extends Opt, BasePlotOptions {
6 /** 最小值,默认为0 */
7 min?: number;
8 /** 最小值,默认为1 */
9 max?: number;
10 /** value, 如果不是百分比的数据,使用旧版value的方式, 配合max最大值使用 */
11 value?: number;
12 /** 数据,百分比 */
13 percent?: number;
14}
15export { LiquidOptions };
16declare const _default: import("react").ForwardRefExoticComponent<LiquidOptions & import("react").RefAttributes<any>>;
17export default _default;