Skip to content

Commit

Permalink
Add valueLabelFormat prop to SliderInput
Browse files Browse the repository at this point in the history
Signed-off-by: Ayoub LABIDI <[email protected]>
  • Loading branch information
ayolab committed Feb 11, 2025
1 parent e422a3b commit de4abad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/inputs/reactHookForm/numbers/SliderInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export function SliderInput({
size = 'small',
marks,
valueLabelDisplay,
valueLabelFormat,
onValueChanged = identity,
}: SliderInputProps) {
const {
Expand All @@ -48,6 +49,7 @@ export function SliderInput({
onChange={handleValueChange}
marks={marks}
valueLabelDisplay={valueLabelDisplay}
valueLabelFormat={valueLabelFormat}
/>
);
}

0 comments on commit de4abad

Please sign in to comment.