Skip to content

Commit

Permalink
Add disabled prop to slider (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kashargul authored Sep 12, 2024
1 parent 824167b commit 4e31ba8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/components/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ type Props = {
className: string;
/** Color of the slider. */
color: string;
/** Disables the slider. */
disabled: boolean;
/** If set, this value will be used to set the fill percentage of the progress bar filler independently of the main value. */
fillValue: number;
/** Format value using this function before displaying it. */
Expand Down

0 comments on commit 4e31ba8

Please sign in to comment.