Skip to content

Commit

Permalink
Update packages/mui-material/src/Slider/SliderValueLabel.types.ts
Browse files Browse the repository at this point in the history
The reference to "an array with two values" looks like it was copied and pasted from Slider's `value` prop, but for this component, value is a single item.

Co-authored-by: Olivier Tassinari <[email protected]>
Signed-off-by: Josh Kelley <[email protected]>
  • Loading branch information
joshkel and oliviertassinari authored Oct 22, 2024
1 parent 100a58a commit f9751c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/mui-material/src/Slider/SliderValueLabel.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export interface SliderValueLabelProps {
open: boolean;
/**
* The value of the slider.
* For ranged sliders, provide an array with two values.
*/
value: React.ReactNode;
/**
Expand Down

0 comments on commit f9751c2

Please sign in to comment.