All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.components.slider.use-slider.d.cts Maven / Gradle / Ivy

import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as slider from '@zag-js/slider';
export interface UseSliderProps extends Optional, 'id'> {
    /**
     * The initial value of the slider when it is first rendered.
     * Use when you do not need to control the state of the slider picker.
     */
    defaultValue?: slider.Context['value'];
}
export interface UseSliderReturn extends slider.Api {
}
export declare const useSlider: (props?: UseSliderProps) => UseSliderReturn;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy