'use client' import React from 'react' import { X } from 'lucide-react' export function Modal({ open, onClose, title, children, maxWidth = 'max-w-lg', }: { open: boolean onClose: () => void title: string children: React.ReactNode maxWidth?: string }) { if (!open) return null return (