import { Info, OctagonAlert, TriangleAlert } from "lucide-react"; import { Alert, AlertDescription, AlertTitle, } from "@marzneshin/common/components"; import { cn } from "@marzneshin/common/utils"; interface AlertCardProps { variant?: "warning" | "default" | "destructive"; title: string | JSX.Element; size?: "wide-full" | "inline"; desc?: string | JSX.Element; } export const AlertCard = ({ title, desc, variant = "default", size = "inline", }: AlertCardProps) => { const Icon = variant === "warning" ? TriangleAlert : variant === "destructive" ? OctagonAlert : Info; return (
{title} {desc}
); };