alinea
Version:
Headless git-based CMS
9 lines (8 loc) • 361 B
TypeScript
import { type PropsWithChildren } from 'react';
export type ModalProps = PropsWithChildren<{
open?: boolean;
onClose: () => void;
className?: string;
}>;
export declare function Modal({ children, ...props }: ModalProps): import("react/jsx-runtime").JSX.Element | null;
export declare function ModalPortal(): import("react/jsx-runtime").JSX.Element;