diff --git a/packages/html/src/slider/slider-tick.tsx b/packages/html/src/slider/slider-tick.tsx index 687dffdae0f..0d35fccfd7d 100644 --- a/packages/html/src/slider/slider-tick.tsx +++ b/packages/html/src/slider/slider-tick.tsx @@ -27,18 +27,21 @@ export const SliderTick = ( label = defaultProps.label, orientation, large, - text + text, + ...other } = props; return ( -
  • +
  • {label && {text}}
  • ); diff --git a/packages/html/src/slider/slider.spec.tsx b/packages/html/src/slider/slider.spec.tsx index 5685b224d00..58c9aec10a6 100644 --- a/packages/html/src/slider/slider.spec.tsx +++ b/packages/html/src/slider/slider.spec.tsx @@ -52,7 +52,8 @@ export const Slider = ( focus, active, trackStyle, - dir + dir, + ...other } = props; let iconIncrease; @@ -67,19 +68,21 @@ export const Slider = ( } return ( -
    +
    { showButtons &&