import React from "react"; // hooks import { AlertTriangle, CheckCircle, Info, X, XCircle } from "lucide-react"; import useToast from "hooks/use-toast"; // icons const ToastAlerts = () => { const { alerts, removeAlert } = useToast(); if (!alerts) return null; return (
{alert.title}
{alert.message &&{alert.message}
}