ToastConfig<Registry>
Defined in: types/toast/toast-config.types.ts:30
Configuration for the toast system, including overlay behavior, limits, default duration, and the renderer definitions for each toast type in the registry.
Since
1.2.1
Author
Simon Kovtyk
Type Parameters
| Type Parameter | Description |
|---|---|
Registry extends Record<string, unknown> | A map of toast kinds to their payload types. |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
maxNumberOfToasts | number | - | types/toast/toast-config.types.ts:32 |
overlayPosition | ToastOverlayPosition | - | types/toast/toast-config.types.ts:31 |
renderers | { [Key in string | number | symbol]: ToastRendererDef<Registry[Key], Key> } | Expects a matching component as well as a key for each property in the given type-registry | types/toast/toast-config.types.ts:37 |
toastDefaultDuration? | number | - | types/toast/toast-config.types.ts:33 |