DefaultAlertingDialog()
Home > @gooddata/sdk-ui-dashboard > DefaultAlertingDialog
DefaultAlertingDialog() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Default implementation of the alerting create/edit dialog.
This component is a pure consumer of AutomationsContext and AlertingDialogContext: it reads org/workspace data and per-dialog state from those contexts rather than from the dashboard store. It must therefore be rendered within an AutomationsContextProvider (and, for the create/edit flow, an AlertingDialogContextProvider). Inside a Dashboard, the alerting connector supplies both providers above the AlertingDialogComponent slot — so the default component, and any wholesale slot replacement, inherit the contexts automatically and require no extra wiring.
The providers are intentionally hoisted above the slot rather than built inside this component: that is what lets a wholesale replacement receive the same contexts (see the Phase-2 boundary in docs/tasks/26Q1 - Automation Dialog Separation.md). Rendering this component outside those providers throws at runtime.
Signature:
export declare function DefaultAlertingDialog(props: IAlertingDialogProps): import("react/jsx-runtime").JSX.Element;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
props |
Returns:
import("react/jsx-runtime").JSX.Element