import * as React from "react"; import { AlertTriangle, CheckCircle2, Info, XCircle } from "lucide-react"; import { cn } from "@/lib/utils"; export function Alert({ variant = "info", title, children, className, action }: { variant?: "info" | "success" | "warning" | "danger"; title?: React.ReactNode; children?: React.ReactNode; className?: string; action?: React.ReactNode }) { const Icon = variant === "success" ? CheckCircle2 : variant === "warning" ? AlertTriangle : variant === "danger" ? XCircle : Info; return (