UNPKG

588 BTypeScriptView Raw
1import 'react';
2import { SliderCfg } from '@antv/g2/lib/interface';
3interface TrendCfg {
4 data: number[];
5 smooth?: boolean;
6 isArea?: boolean;
7 backgroundStyle?: object;
8 lineStyle?: object;
9 areaStyle?: object;
10}
11export interface ISliderProps extends SliderCfg {
12 height?: number;
13 trendCfg?: TrendCfg;
14 backgroundStyle?: any;
15 foregroundStyle?: any;
16 handlerStyle?: any;
17 textStyle?: any;
18 minLimit?: number;
19 maxLimit?: number;
20 start?: number;
21 end?: number;
22}
23declare function Slider(props: ISliderProps): any;
24export default Slider;