/** * Modal * * A window rendered on top of all components. */ /// import { BlockProps } from '../../core/types'; import './Modal.scss'; export type ModalProps = BlockProps & { active: boolean; mount?: HTMLElement; onClose?: () => any; }; export default function Modal({ active, children, className, mount, onClose, style }: ModalProps): JSX.Element;