import { Description, Dialog, DialogBackdrop, DialogPanel, DialogTitle, } from '@headlessui/react' import type { ReactNode } from 'react' import { LeftArrow } from '~/components/icons/left-arrow' import { APP } from '~/configs/meta' type ModalProperties = { isOpen: boolean onClose: () => void children: ReactNode description?: string } export const PopupModal = ({ isOpen, onClose, children, description, }: ModalProperties) => { return (
{APP.title} {description && ( {description} )}
{children}
) }