Primitives
Editor.Toaster
react-hot-toast container styled with semantic tokens.
react-hot-toast container styled with semantic tokens.
Usage
import { Editor } from '@docmosaic/react';
<Editor.Root>
<Editor.Toaster />
</Editor.Root>;API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| toastOptions | DefaultToastOptions | undefined | - | Override the default toast styling. Defaults to a theme-token-styled card matching |
Related
- Root - the orchestrator