import { CircleAlert } from "lucide-react"; import { Material } from "./material"; import type { ReactNode } from "react"; import { cn } from "@/lib/utils"; function Alert({ children, icon, className, variant, }: { children?: ReactNode | ReactNode[] | undefined; icon?: ReactNode | ReactNode[] | undefined; className?: string | undefined; variant?: "error" | "info" | "normal" | "warning" | undefined; }) { return ( {icon ? ( icon ) : ( )}{" "}

{children}

); } export { Alert };