ToastProvider
Override auto-dismiss for this toast (ms).
Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggleWhen to use
Override auto-dismiss for this toast (ms).
Accessibility
Status messages use role="status" / aria-live="polite" (or assertive for errors) so updates are announced without stealing focus.
Import
const { ToastProvider } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
children | React.ReactNode | — | |
duration | number | — | Auto-dismiss delay in ms (0 to disable). Default 5000. |