API reference: @salmonui/notifications/toast
ToastCloseEventinterface
import type { ToastCloseEvent } from '@salmonui/notifications/toast';interface ToastCloseEvent {
readonly id: string;
readonly reason: ToastCloseReason;
}
Passed to onClose.
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
reason | readonly reason: ToastCloseReason; |