AlertingDialogAttribute()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
The alerting dialog’s attribute field (“For”: the attribute value the condition is sliced by), connected to the dialog’s state and rendered as a labelled form row.
Renders DefaultAlertingDialogAttribute() inside AutomationDialogFormField() with the props of useAlertingDialogAttributeProps(); every prop passed here replaces the hook’s value for that prop wholesale. Renders nothing when the insight has no non-date attribute (there is nothing to slice by; the gate reads the attributes prop, so an override is honoured), and nothing while useAlertingDialogContext().isLoading is true.
export declare function AlertingDialogAttribute(overrides: Partial<IAlertingDialogAttributeProps>): ReactElement;
Parameters
Parameter | Type | Description |
|---|---|---|
overrides | Partial<IAlertingDialogAttributeProps> |
Returns
ReactElement