@carrot-farm/mongsil-ui
Version:
react ui library
13 lines (12 loc) • 461 B
TypeScript
import * as React from 'react';
export interface ModalProps {
className?: string;
bosyScroll?: boolean;
visible?: boolean;
children?: React.ReactNode;
onVisible?(ref: React.MutableRefObject<HTMLElement | undefined>): void;
onHidden?(): void;
onBackdropClick?(): void;
}
declare function Modal({ className, bosyScroll, visible, children, onVisible, onHidden, onBackdropClick, }: ModalProps): JSX.Element | null;
export default Modal;