Provides a brief notification.
View source code() => void
Handler that is called when the element is closed
ReactNode
The title to display in the Toast
{ text: string; isLoading?: boolean; onClick: () => void; }
The action to display at the bottom of the Toast
ReactNode
Content of the Toast
string
className for the element
"alert" | "success"
The visual style of the Toast
Default: success