Skip to content

ToastProvider

const ToastProvider: React.FC<ToastProviderProps>

Defined in: src/components/feedback/Toast/ToastProvider.tsx:56

ToastProvider manages toast notification state and renders them via portal.

Wrap your application (or a section of it) with this provider, then use the useToast() hook to trigger notifications from any child component.

Example

<ToastProvider position="bottom-right" maxVisible={5}>
<App />
</ToastProvider>