UNPKG

@lani.ground/react-modal

Version:
18 lines (17 loc) 553 B
/// <reference types="react" /> interface Props { name: string; closeModal: () => Promise<void>; dim?: string; centerMode: boolean; animation?: { className?: string; duration: number; }; containerPadding?: string; disabledOutsideClose: boolean; isClosing?: boolean; children: React.ReactNode; } export default function Modal({ name, closeModal, dim, centerMode, animation, containerPadding, disabledOutsideClose, isClosing, children, }: Props): import("react/jsx-runtime").JSX.Element; export {};