Home > @uniformdev/design-system > ToastContainer
ToastContainer() function
A component to render toasts in your app. This component is supposed to be used just once in your app. Typically inside _app.tsx
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
{ limit, autoCloseDelay } | ToastContainerProps |
Returns:
_emotion_react_jsx_runtime.JSX.Element
Example
<App><ToastContainer autoCloseDelay="normal" /></App>