A short message that appears briefly without interrupting the user.
closeButtoncloseIcon | ReactNode | – | Replaces this icon. Accepts any node; |
limit | number | 3 | The maximum number of toasts that can be displayed at once. When the limit is exceeded, the oldest toasts are marked as |
timeout | number | 5000 | The default amount of time (in ms) before a toast is auto dismissed. A value of |
toastManager | ToastManager<any> | – | A global manager for toasts to use outside of a React component. |
booleanfalse |
Whether every toast shows a close button. A toast's own |
closeIcon | ReactNode | – | Replaces this icon. Accepts any node; |
limit | number | 3 | The maximum number of toasts that can be displayed at once. When the limit is exceeded, the oldest toasts are marked as |
position | "bottom-left"|"bottom-right"|"top-left"|"top-right"|"top-center"|"bottom-center" | bottom-right | The corner or edge of the screen where toasts appear. |
timeout | number | 5000 | The default amount of time (in ms) before a toast is auto dismissed. A value of |
toastManager | ToastManager<any> | – | A global manager for toasts to use outside of a React component. |