mirror of
https://github.com/hanzoai/design.git
synced 2026-11-02 23:03:05 +00:00
The single source of truth for every Hanzo surface: monochrome opacity-ladder tokens (dark-default), self-contained core/forms/overlays/navigation components (each with .d.ts + .prompt.md), the mark/wordmark + provider/partner logos, and the specimen-card guidelines. One import: @hanzoai/design/styles.css.
12 lines
506 B
TypeScript
12 lines
506 B
TypeScript
/** Hairline-divided disclosure list. The FAQ pattern on pricing and download pages. */
|
|
export interface AccordionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
type?: 'single' | 'multiple';
|
|
defaultValue?: string | string[] | null;
|
|
}
|
|
export function Accordion(props: AccordionProps): JSX.Element;
|
|
export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
value: string;
|
|
title: React.ReactNode;
|
|
}
|
|
export function AccordionItem(props: AccordionItemProps): JSX.Element;
|