UNPKG

alouette

Version:

A modern, customizable design system built on top of NativeWind v5 with configurable defaults

18 lines • 744 B
import { type ReactNode } from "react"; export interface DisclosureProps { /** The trigger's text, which stays visible in both states. */ label: string; children: ReactNode; expanded?: boolean; defaultExpanded?: boolean; onExpandedChange?: (expanded: boolean) => void; disabled?: boolean; className?: string; } /** * A caret row that shows or hides the content below it — the WAI-ARIA * disclosure pattern. The content mounts only while expanded and animates with * the `disclose-*` tokens. */ export declare function Disclosure({ label, children, expanded: controlledExpanded, defaultExpanded, onExpandedChange, disabled, className, }: DisclosureProps): ReactNode; //# sourceMappingURL=Disclosure.d.ts.map