Accessibility
Ability to change the ARIA role of the toast. By default it's value is alert
.
Example
import { toast } from "@toastup/react";
toast.add({ role: "alert" });
Ability to change the ARIA role of the toast. By default it's value is alert
.
import { toast } from "@toastup/react";
toast.add({ role: "alert" });