ToastApi
The toast component is a non-disruptive message that appears at the bottom of the interface to provide quick, at-a-glance feedback on the outcome of an action.
Name | Type | Description |
---|---|---|
show | (content: string, options: ShowToastOptions) => void |
Trigger a toast message to appear. |
ShowToastOptions
Anchor link to section titled "ShowToastOptions"Name | Type | Description |
---|---|---|
error? | boolean |
Display toast in error format. |