UNPKG

483 BTypeScriptView Raw
1import { UseSliderParameters, UseSliderReturnValue } from './useSlider.types';
2export declare function valueToPercent(value: number, min: number, max: number): number;
3export declare const Identity: (x: any) => any;
4/**
5 *
6 * Demos:
7 *
8 * - [Slider](https://mui.com/base-ui/react-slider/#hook)
9 *
10 * API:
11 *
12 * - [useSlider API](https://mui.com/base-ui/react-slider/hooks-api/#use-slider)
13 */
14export declare function useSlider(parameters: UseSliderParameters): UseSliderReturnValue;