Home > @uniformdev/design-system > ToastContainer

ToastContainer() function

Renders the global toast viewport. Intended to be mounted exactly once near the root of the app (typically in _app.tsx).

Signature:

Parameters

ParameterTypeDescription
{ limit, autoCloseDelay }ToastContainerProps

Returns:

_emotion_react_jsx_runtime.JSX.Element

Example