Components
A button that triggers a Sonner toast notification containing an inline action button to follow up on the completed task.
Loading preview...
"use client";
import ToastComponent from "@/components/ui/toast11";
import { Toaster } from "sonner";
export default function ToastDemo() {
return (
<div className="bg-background text-foreground flex min-h-[350px] w-full items-center justify-center p-10">
<ToastComponent />
<Toaster />
</div>
);
}