import { Button, Dialog, DialogDismiss, DialogHeading } from "@ariakit/react"; import { useState } from "react"; import { ToastContainer, toast } from "react-toastify"; import "react-toastify/dist/ReactToastify.css"; import "./style.css"; function Example() { const [open, setOpen] = useState(false); return (
setOpen(false)} getPersistentElements={() => document.querySelectorAll(".Toastify")} backdrop={
} className="dialog" > Notification

Click on the button below to show a toast.

Cancel
); } export default function App() { return ( <> ); }