View as Markdown

API reference: @salmonui/notifications/toast

ToastCloseReasontype

import type { ToastCloseReason } from '@salmonui/notifications/toast';
type ToastCloseReason = 'timeout' | 'dismiss' | 'action' | 'programmatic';

Why a toast closed.