@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
25 lines • 616 B
TypeScript
export interface SliderValueLabelProps {
children?: React.ReactElement<{
className?: string;
children?: React.ReactNode;
}>;
className?: string;
style?: React.CSSProperties;
/**
* If `true`, the value label is visible.
*/
open: boolean;
/**
* The value of the slider.
*/
value: React.ReactNode;
/**
* Controls when the value label is displayed:
*
* - `auto` the value label will display when the thumb is hovered or focused.
* - `on` will display persistently.
* - `off` will never display.
* @default 'off'
*/
valueLabelDisplay?: 'on' | 'auto' | 'off';
}