Slider always shows value

Added "labelAlwaysOn" property to MantineSlider so that...the label is always on and you don't have to move the slider to find out its value.
This commit is contained in:
JayZed 2023-12-27 23:48:05 -05:00
parent 72bd52ce79
commit dca51d058c
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>