IAlertingDialogSlots
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Section-level overrides of the default alerting dialog.
Define slot components at module scope, not inline in a render — an inline component remounts on every render.
export interface IAlertingDialogSlots
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
ComponentType<ISlotProps<IAutomationDialogActionBarProps>> | (BETA) (Optional) Wraps or replaces the dialog’s action bar (the footer row: documentation link, Delete in edit mode, Cancel and the submit button). Must have a stable reference identity — see . Renders only in the fully rendered dialog: not while the dialog context reports loading (the loading dialog keeps its own footer), and not while the stale-filters confirmation step is shown. A replacement that does not render | ||
ComponentType<ISlotProps<IAutomationDialogDestinationProps>> | (BETA) (Optional) Wraps or replaces the dialog’s destination region (the “Action” row selecting the notification channel). Must have a stable reference identity — see . Renders only in the fully rendered dialog — not while the dialog context reports loading, not while the stale-filters confirmation step is shown — **and only when more than one notification channel exists**: with a single channel the default dialog hides the whole row, and the slot with it. | ||
ComponentType<ISlotProps<IAlertingDialogFiltersProps>> | (BETA) (Optional) Wraps or replaces the dialog’s filters region (the filter and parameter chips). Must have a stable reference identity — see . Renders only in the fully rendered dialog: not while the dialog context reports loading, and not while the stale-filters confirmation step is shown. A replacement takes over computing the next filters array: | ||
ComponentType<ISlotProps<AlertingDialogHeaderDefaultProps>> | (BETA) (Optional) Wraps or replaces the dialog header (the title input row). Must have a stable reference identity — see . | ||
ComponentType<ISlotProps<IAutomationDialogRecipientsProps>> | (BETA) (Optional) Wraps or replaces the dialog’s recipients region. Must have a stable reference identity — see . Renders only in the fully rendered dialog: not while the dialog context reports loading, and not while the stale-filters confirmation step is shown. |
Property details
IAlertingDialogSlots.ActionBarpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Wraps or replaces the dialog’s action bar (the footer row: documentation link, Delete in edit mode, Cancel and the submit button). Must have a stable reference identity — see .
Renders only in the fully rendered dialog: not while the dialog context reports loading (the loading dialog keeps its own footer), and not while the stale-filters confirmation step is shown.
A replacement that does not render Default loses the submit button’s Enter-key detection id (Enter no longer submits), the validation aria wiring, and the default row’s ordering. Wraps that render <Default {...defaultProps} /> keep everything; note the Enter-key path invokes the dialog’s own submit handler and disabled state, so defaultProps overrides affect the buttons only.
ActionBar?: ComponentType<ISlotProps<IAutomationDialogActionBarProps>>;
IAlertingDialogSlots.DestinationpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Wraps or replaces the dialog’s destination region (the “Action” row selecting the notification channel). Must have a stable reference identity — see .
Renders only in the fully rendered dialog — not while the dialog context reports loading, not while the stale-filters confirmation step is shown — **and only when more than one notification channel exists**: with a single channel the default dialog hides the whole row, and the slot with it.
Destination?: ComponentType<ISlotProps<IAutomationDialogDestinationProps>>;
IAlertingDialogSlots.FilterspropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Wraps or replaces the dialog’s filters region (the filter and parameter chips). Must have a stable reference identity — see .
Renders only in the fully rendered dialog: not while the dialog context reports loading, and not while the stale-filters confirmation step is shown.
A replacement takes over computing the next filters array: defaultProps.onFiltersChange expects the complete selection, so change/remove/add gestures must submit the whole updated array, not a delta.
Filters?: ComponentType<ISlotProps<IAlertingDialogFiltersProps>>;
IAlertingDialogSlots.HeaderpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Wraps or replaces the dialog header (the title input row). Must have a stable reference identity — see .
Header?: ComponentType<ISlotProps<AlertingDialogHeaderDefaultProps>>;
IAlertingDialogSlots.RecipientspropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Wraps or replaces the dialog’s recipients region. Must have a stable reference identity — see .
Renders only in the fully rendered dialog: not while the dialog context reports loading, and not while the stale-filters confirmation step is shown.
Recipients?: ComponentType<ISlotProps<IAutomationDialogRecipientsProps>>;