import * as React from "react"; import { useToastState } from "./use-toast"; import { CheckCircle2, AlertCircle, Info, X } from "lucide-react"; import { cn } from "../../lib/utils"; export function Toaster() { const toasts = useToastState(); if (toasts.length === 0) return null; return (
{t.message}