UNPKG

@project-jade-garden/reka-ui

Version:
44 lines (43 loc) 1.43 kB
import { SVATraits } from 'jade-garden'; /** * **Accordion** * @description A vertically stacked set of interactive headings that each reveal an associated section of content. * @see [source](https://reka-ui.com/docs/components/accordion#anatomy) */ export declare const slots: readonly ["content", "header", "item", "root", "trigger"]; /** * **Accordion** * @description A vertically stacked set of interactive headings that each reveal an associated section of content. * @see [source](https://reka-ui.com/docs/components/accordion#anatomy) */ export type Slots = (typeof slots)[number]; /** * **Accordion** * @description A vertically stacked set of interactive headings that each reveal an associated section of content. * @see [source](https://reka-ui.com/docs/components/accordion#api-reference) */ export type Traits = SVATraits<Slots, { content: { state: "open" | "closed"; disabled: ""; orientation: "vertical" | "horizontal"; }; header: { state: "open" | "closed"; disabled: ""; orientation: "vertical" | "horizontal"; }; item: { state: "open" | "closed"; disabled: ""; orientation: "vertical" | "horizontal"; }; root: { orientation: "vertical" | "horizontal"; }; trigger: { state: "open" | "closed"; disabled: ""; orientation: "vertical" | "horizontal"; }; }>;