Added permanent label over sliders to show current value

This commit is contained in:
JayZed 2023-12-28 13:22:16 -05:00 committed by GitHub
parent eaa77bd511
commit c7e0da3da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ export const Slider: FunctionComponent<SliderProps> = (props) => {
<MantineSlider
{...sliderProps}
marks={marks}
labelAlwaysOn
onChange={update}
value={value ?? 0}
></MantineSlider>