toasts

tcmts.share.toasts · #u3jn6yrv · term · runs anywhere

What the page's actions came to (merged, signed out, a comment added, or why one failed), said for a moment.

import { UNSTABLE_ToastQueue } from "react-aria-components";

export const toasts = new UNSTABLE_ToastQueue<{
  title: string;
  description?: string;
  tone?: "ok" | "bad";
}>({
  maxVisibleToasts: 4,
})

used by