Skip to content

useToast

function useToast(): ToastContextValue;

Defined in: src/ui/components/Toast.tsx:40

add(kind, message, detail?) for the nearest ToastProvider; throws outside one.

ToastContextValue