import { Alert, AlertTitle, AlertDescription } from '@/components/ui/alert' import { Button } from '@/components/ui/button' import { AlertCircle, X } from 'lucide-react' import { cn } from '@/lib/utils' export interface ErrorBannerProps { title?: string summary: string detail?: string onDismiss?: () => void className?: string } export function ErrorBanner({ title, summary, detail, onDismiss, className }: ErrorBannerProps) { return (
{title && ( {title} )} {summary}
{onDismiss && ( )}
{detail && (
            {detail}
          
)}
) }