Toast API
Toast API allows the display of a Toast component.
Name | Type | Description |
---|---|---|
show | (content, options) => void |
Show a Toast. |
Name | Type | Description |
---|---|---|
content | string |
The content of the Toast. |
options? | ShowToastOptions |
The options for the Toast. |
ShowToastOptions
Anchor link to section titled "ShowToastOptions"Name | Type | Description |
---|---|---|
duration? | number |
The duration in milliseconds to display the Toast. Defaults to 5000. |