Skip to content

The open alternative to Salesforce, designed for AI.

1.3 KB
Raw Blame
{/*
 * _____                    _
 *|_   _|_      _____ _ __ | |_ _   _
 *  | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
 *  | |  \ V  V /  __/ | | | |_| |_| | DO NOT EDIT - changes will be overwritten
 *  |_|   \_/\_/ \___|_| |_|\__|\__, | Generated by: npx nx generate:ui twenty-docs
 *                              |___/
 *
 * This file is generated from the documentation data in packages/twenty-ui/generated.
 * To update it, edit the component prop types or design tokens in twenty-ui and run:
 *   npx nx generate:ui twenty-docs
 */}

<ParamField body="container" type="HTMLElement | null">
  Portal destination. Omit to use the theme container or document.body; null defers rendering. The provider retains visible notifications and pauses their countdowns while no Toaster is rendered.
</ParamField>

<ParamField body="getToastProps" type="((toast: ToastNotification) =&gt; Partial&lt;Omit&lt;ToastProps, &quot;ref&quot; | &quot;id&quot; | &quot;onClose&quot;&gt;&gt;)">
  Adapts notification content and presentation. The provider owns id, dismissal, and the shared countdown. Set timing through enqueueToast or updateToast; duration and progress overrides must match across Toasters sharing a provider.
</ParamField>

<ParamField body="render" type="RenderProp&lt;Record&lt;string, unknown&gt;&gt;">
  Custom root element composed through Base UI.
</ParamField>