import * as RD from '@radix-ui/react-dialog'; import { X } from 'lucide-react'; import type { ReactNode } from 'react'; import { cn } from '@/lib/cn'; export function Dialog({ open, onOpenChange, title, children, className, description }: { open: boolean; onOpenChange: (v: boolean) => void; title: string; description?: string; children: ReactNode; className?: string; }) { return (
{title} {description && {description}}
{children}
); }