UNPKG

@project-jade-garden/reka-ui

Version:
37 lines (36 loc) 1.09 kB
import { SVATraits } from 'jade-garden'; /** * **Slider** * @description An input where the user selects a value from within a given range. * @see [source](https://reka-ui.com/docs/components/slider#anatomy) */ export declare const slots: readonly ["root", "thumb", "track", "range"]; /** * **Slider** * @description An input where the user selects a value from within a given range. * @see [source](https://reka-ui.com/docs/components/slider#anatomy) */ export type Slots = (typeof slots)[number]; /** * **Slider** * @description An input where the user selects a value from within a given range. * @see [source](https://reka-ui.com/docs/components/slider#api-reference) */ export type Traits = SVATraits<Slots, { root: { disabled: ""; orientation: "vertical" | "horizontal"; }; thumb: { disabled: ""; orientation: "vertical" | "horizontal"; }; track: { disabled: ""; orientation: "vertical" | "horizontal"; }; range: { disabled: ""; orientation: "vertical" | "horizontal"; }; }>;