Toast
A succinct message that is displayed temporarily.
With title
With action
Variants
Component props
| Name | Type | Description |
|---|---|---|
| message | ReactNode | Toast message content |
| title | ReactNode | Optional toast title |
| variant | ToastVariant | "default" | "success" | "error" |
| action | ReactNode | Action element (e.g., button) |
| onAction | () => void | Called when action is clicked |