// AUTO-GENERATED by scripts/generate-wrappers.mjs — do not edit by hand.
// Source: packages/core/manifest.json (component "modal").
import type { ElementType, ReactNode } from 'react';
import { Modal as ModalController, type ModalOptions } from '@42/core/modal';
import { C42 } from '../C42';
const DEFAULT_HTML: string | null = "\n
\n
\n \n
Modal body
\n
\n
";
export interface ModalProps extends Partial {
/** Element/tag rendered as the controller root. Defaults to `"div"`. */
as?: ElementType;
className?: string;
children?: ReactNode;
/** Fired on `modal:open` — detail: `(no detail)` */
onOpen?: (detail: unknown, event: CustomEvent) => void;
/** Fired on `modal:close` — detail: `(no detail)` */
onClose?: (detail: unknown, event: CustomEvent) => void;
/** Extra props are forwarded to the rendered `