Files
zooqueen 5e059914c8 feat: Hanzo Design System — tokens, components, brand assets, guidelines
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.
2026-07-24 17:08:49 -07:00

13 lines
559 B
TypeScript

/** Transient confirmation. Mount <Toaster /> once, then call toast() from anywhere. */
export interface ToasterProps {
/** Auto-dismiss in ms. */
duration?: number;
position?: 'bottom-right' | 'top-right';
}
export function Toaster(props: ToasterProps): JSX.Element;
export interface ToastOptions { description?: string; tone?: 'default' | 'success' | 'error' }
export const toast: ((message: string, opts?: ToastOptions) => number) & {
success(message: string, opts?: ToastOptions): number;
error(message: string, opts?: ToastOptions): number;
};