mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
13 lines
762 B
Plaintext
13 lines
762 B
Plaintext
/** Centred modal on an 80% black scrim with a 4px backdrop blur. Escape and scrim click close it.
|
|
export interface DialogProps {
|
|
open?: boolean;
|
|
onOpenChange?: (open: boolean) => void;
|
|
children?: React.ReactNode;
|
|
}
|
|
export function Dialog(props: DialogProps): JSX.Element | null;
|
|
export function DialogContent(props: React.HTMLAttributes<HTMLDivElement> & { width?: number }): JSX.Element;
|
|
export function DialogHeader(props: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|
|
export function DialogTitle(props: React.HTMLAttributes<HTMLHeadingElement>): JSX.Element;
|
|
export function DialogDescription(props: React.HTMLAttributes<HTMLParagraphElement>): JSX.Element;
|
|
export function DialogFooter(props: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
|