UNPKG

@project-jade-garden/reka-ui

Version:
28 lines (27 loc) 959 B
import { SVATraits } from 'jade-garden'; /** * **Scroll Area** * @description Augments native scroll functionality for custom, cross-browser styling. * @see [source](https://reka-ui.com/docs/components/scroll-area#anatomy) */ export declare const slots: readonly ["root", "viewport", "scrollbar", "thumb", "corner"]; /** * **Scroll Area** * @description Augments native scroll functionality for custom, cross-browser styling. * @see [source](https://reka-ui.com/docs/components/scroll-area#anatomy) */ export type Slots = (typeof slots)[number]; /** * **Scroll Area** * @description Augments native scroll functionality for custom, cross-browser styling. * @see [source](https://reka-ui.com/docs/components/scroll-area#api-reference) */ export type Traits = SVATraits<Slots, { scrollbar: { state: "visible" | "hidden"; orientation: "vertical" | "horizontal"; }; thumb: { state: "visible" | "hidden"; }; }>;