UNPKG

@julo-ui/sliders

Version:

A React Slider component that implements input[type='range']

11 lines (9 loc) 319 B
/** * The browser <input type="range" /> calculates * the default value of a slider by using mid-point * between the min and the max. * * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range */ declare function getDefaultValue(min: number, max: number): number; export { getDefaultValue };