diff --git a/src/components/slider/ColorSliderGroup.tsx b/src/components/slider/ColorSliderGroup.tsx index 835dd7a537..468b56e24d 100644 --- a/src/components/slider/ColorSliderGroup.tsx +++ b/src/components/slider/ColorSliderGroup.tsx @@ -24,6 +24,7 @@ const ColorSliderGroup = (props: ColorSliderGr labels = {hue: 'Hue', lightness: 'Lightness', saturation: 'Saturation', default: ''}, labelsStyle, accessible, + sliderProps, migrate } = themeProps; @@ -50,6 +51,8 @@ const ColorSliderGroup = (props: ColorSliderGr )} = { * Whether to use the new Slider implementation using Reanimated */ migrate?: boolean; + /** + * Pass props to the sliders + */ + sliderProps?: Omit< + SliderProps, + | 'migrate' + | 'containerStyle' + | 'accessible' + | 'onReset' + | 'renderTrack' + | 'step' + | 'maximumValue' + | 'value' + | 'onValueChange' + | 'disabled' + | 'useRange' + >; };