import { Button } from "@common/components/ui"; import Link from "next/link"; import toast from "react-hot-toast"; interface toastFormType { body: string; title: string; url?: string; buttonName?: string; } export function ToastFormUi({ body, title, url, buttonName }: toastFormType) { //const router = useRouter(); return toast.custom((t) => (
{title}
{body}