Toast
Contextual feedback messages for user actions.
Notifications
ToastService API
| Name | Type | Default | Description |
|---|---|---|---|
success | (message: string) => void | - | Show a success toast notification with green styling. |
warning | (message: string) => void | - | Show a warning toast notification with yellow styling. |
danger | (message: string) => void | - | Show a danger/error toast notification with red styling. |
info | (message: string) => void | - | Show an info toast notification with blue styling. |
show | (message: string, type: string, duration?: number) => void | duration: 3000 | Show a custom toast with specified type and optional duration in milliseconds. |