diff --git a/src/components/ReactSlider/ReactSlider.jsx b/src/components/ReactSlider/ReactSlider.jsx index e4c49ea..36ef73d 100644 --- a/src/components/ReactSlider/ReactSlider.jsx +++ b/src/components/ReactSlider/ReactSlider.jsx @@ -350,9 +350,9 @@ class ReactSlider extends React.Component { snapDragDisabled: false, invert: false, marks: [], - renderThumb: props =>
, - renderTrack: props => , - renderMark: props => , + renderThumb: ({ key, ...props }) => , + renderTrack: ({ key, ...props }) => , + renderMark: ({ key, ...props }) => , }; constructor(props) {