import type { CSSProperties, HTMLAttributes, ReactNode } from "react"; export function Stack({ gap = 20, direction = "column", align = "stretch", wrap = false, className = "", style, ...props }: HTMLAttributes & { gap?: number; direction?: "row" | "column"; align?: CSSProperties["alignItems"]; wrap?: boolean; }) { return (
); } export function Grid({ minWidth = 220, gap = 24, className = "", style, ...props }: HTMLAttributes & { minWidth?: number; gap?: number }) { return (
); } export function AspectRatio({ ratio = 16 / 9, className = "", style, ...props }: HTMLAttributes & { ratio?: number }) { return (
0 ? ratio : 1, ...style, }} /> ); } export function ScrollArea({ label, maxHeight = 300, className = "", style, ...props }: HTMLAttributes & { label: string; maxHeight?: number | string; }) { return (
); } export function AppShell({ header, sidebar, footer, children, mainId = "mizu-main", mainTag: Main = "main", className = "", }: { header?: ReactNode; sidebar?: ReactNode; footer?: ReactNode; children: ReactNode; mainId?: string; mainTag?: "main" | "section"; className?: string; }) { return (
Skip to content {header &&
{header}
}
{sidebar && }
{children}
{footer && }
); }