AlertingDialogComparisonOperator()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
The alerting dialog’s condition field (“Condition”: the operator — fixed threshold, change, difference or anomaly detection), connected to the dialog’s state and rendered as a labelled form row.
Renders DefaultAlertingDialogComparisonOperator() inside AutomationDialogFormField() with the props of useAlertingDialogComparisonOperatorProps(); every prop passed here replaces the hook’s value for that prop wholesale. Pass enableAnomalyDetectionAlert={false} to hide the anomaly-detection options. Renders nothing while useAlertingDialogContext().isLoading is true.
export declare function AlertingDialogComparisonOperator(overrides: Partial<IAlertingDialogComparisonOperatorProps>): ReactElement;
Parameters
Parameter | Type | Description |
|---|---|---|
overrides |
Returns
ReactElement
Example
<AlertingDialogComparisonOperator enableAnomalyDetectionAlert={false} />