import * as Dialog from '@radix-ui/react-dialog' import clsx from 'clsx' import { X } from 'lucide-react' const sizes = { sm: 'max-w-lg', md: 'max-w-2xl', lg: 'max-w-5xl', } export default function Modal({ open, onOpenChange, title, description, size = 'md', children, footer, className, }) { return (
{title} {description ? ( {description} ) : null}
{children}
{footer ?
{footer}
: null}
) }