import { MouseEvent, ReactNode } from "react"; // Generated with util/create-component.js export type DrawerDirectionType = "bottom" | "top" | "left" | "right"; export interface ModalProps { drawer?: boolean; className?: string; modalBodyClassName?: string; children?: ReactNode; drawerDirection?: DrawerDirectionType; showScroll?: boolean; modalWidth?: string; modalHeight?: string; radius?: string; visible: boolean; onClose?: (e?: MouseEvent) => void; hasCloseButton?: boolean; router?: any; } export type ModalElementType = "ModalHeader" | "ModalBody" | "ModalFooter";