@zendeskgarden/container-slider
Version:
Containers relating to Slider in the Garden Design System
12 lines (11 loc) • 652 B
TypeScript
/**
* Copyright Zendesk, Inc.
*
* Use of this source code is governed under the Apache License, Version 2.0
* found at http://www.apache.org/licenses/LICENSE-2.0.
*/
import { IUseSliderProps, IUseSliderReturnValue } from './types';
export declare const SLIDER_MIN = 0;
export declare const SLIDER_MAX = 100;
export declare const SLIDER_STEP = 1;
export declare function useSlider<T extends Element = Element, M extends HTMLElement = HTMLElement>({ trackRef, minThumbRef, maxThumbRef, min, max, defaultMinValue, defaultMaxValue, minValue, maxValue, onChange, step, jump, disabled, rtl, environment }: IUseSliderProps<T, M>): IUseSliderReturnValue;