UNPKG

622 BTypeScriptView Raw
1import * as React from 'react';
2import { SliderPropsType } from './PropsType';
3export interface SliderProps extends SliderPropsType {
4 prefixCls?: string;
5 marks?: {
6 [key: number]: string;
7 };
8 dots?: boolean;
9 included?: boolean;
10 maximumTrackStyle?: React.CSSProperties;
11 minimumTrackStyle?: React.CSSProperties;
12 handleStyle?: React.CSSProperties;
13 trackStyle?: React.CSSProperties;
14 railStyle?: React.CSSProperties;
15}
16export default class Slider extends React.Component<SliderProps, any> {
17 static defaultProps: {
18 prefixCls: string;
19 };
20 render(): JSX.Element;
21}