UNPKG

@adaptui/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

12 lines (11 loc) 583 B
import { As, Options, Props } from "ariakit-utils/types"; import { SliderThumbState } from "./slider-thumb-state"; export declare const useSliderInput: import("ariakit-utils").Hook<SliderInputOptions<"input">>; export declare const SliderInput: import("ariakit-utils").Component<SliderInputOptions<"input">>; export declare type SliderInputOptions<T extends As = "input"> = Options<T> & { /** * Object returned by the `useSliderState` hook. */ state: SliderThumbState; }; export declare type SliderInputProps<T extends As = "input"> = Props<SliderInputOptions<T>>;