mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
Fix Slider typings, close #7532
This commit is contained in:
parent
37c8c4ed30
commit
b216a44b28
@ -30,6 +30,8 @@ export interface SliderProps {
|
|||||||
onChange?: (value: SliderValue) => void;
|
onChange?: (value: SliderValue) => void;
|
||||||
onAfterChange?: (value: SliderValue) => void;
|
onAfterChange?: (value: SliderValue) => void;
|
||||||
tipFormatter?: void | ((value: number) => React.ReactNode);
|
tipFormatter?: void | ((value: number) => React.ReactNode);
|
||||||
|
className?: string;
|
||||||
|
id?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class Slider extends React.Component<SliderProps, any> {
|
export default class Slider extends React.Component<SliderProps, any> {
|
||||||
|
Loading…
Reference in New Issue
Block a user