diff --git a/components/slider/index.tsx b/components/slider/index.tsx index 0b7218de501c..32f5addb2764 100644 --- a/components/slider/index.tsx +++ b/components/slider/index.tsx @@ -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 {