import { Dialog } from '@headlessui/react' import { XMarkIcon } from '@heroicons/react/20/solid' import mangoStore from '@store/mangoStore' type ModalProps = { children: React.ReactNode disableOutsideClose?: boolean fullScreen?: boolean isOpen: boolean onClose: () => void panelClassNames?: string hideClose?: boolean } function Modal({ children, disableOutsideClose = false, fullScreen = false, isOpen, onClose, panelClassNames, hideClose, }: ModalProps) { const themeData = mangoStore((s) => s.themeData) const handleClose = () => { if (disableOutsideClose) return onClose() } return ( ) } export default Modal