mirror of
https://github.com/hanzoai/design.git
synced 2026-10-30 14:58:37 +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.
13 lines
577 B
TypeScript
13 lines
577 B
TypeScript
/** Edge-anchored panel — filter drawers on catalog pages, mobile navigation. */
|
|
export interface SheetProps {
|
|
open?: boolean;
|
|
onOpenChange?: (open: boolean) => void;
|
|
side?: 'left' | 'right';
|
|
width?: number;
|
|
children?: React.ReactNode;
|
|
}
|
|
export function Sheet(props: SheetProps): JSX.Element | null;
|
|
export function SheetHeader(props: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
export function SheetTitle(props: React.HTMLAttributes<HTMLHeadingElement>): JSX.Element;
|
|
export function SheetContent(props: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|