Fix Slider typings, close #7532

This commit is contained in:
afc163 2017-09-10 02:32:00 +08:00
parent 37c8c4ed30
commit b216a44b28

View File

@ -30,6 +30,8 @@ export interface SliderProps {
onChange?: (value: SliderValue) => void;
onAfterChange?: (value: SliderValue) => void;
tipFormatter?: void | ((value: number) => React.ReactNode);
className?: string;
id?: string;
}
export default class Slider extends React.Component<SliderProps, any> {