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) 592 B
import { As, Options, Props } from "ariakit-utils/types"; import { SliderThumbState } from "./slider-thumb-state"; export declare const useSliderThumb: import("ariakit-utils/types").Hook<SliderThumbOptions<"div">>; export declare const SliderThumb: import("ariakit-utils/types").Component<SliderThumbOptions<"div">>; export declare type SliderThumbOptions<T extends As = "div"> = Options<T> & { /** * Object returned by the `useSliderThumbState` hook. */ state: SliderThumbState; }; export declare type SliderThumbProps<T extends As = "div"> = Props<SliderThumbOptions<T>>;