AlertingDialogGranularity()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The alerting dialog’s granularity field (the period anomaly detection evaluates over), connected to the dialog’s state and rendered as a labelled form row.
Renders DefaultAlertingDialogGranularity() inside AutomationDialogFormField() with the props of useAlertingDialogGranularityProps(); every prop passed here replaces the hook’s value for that prop wholesale. Renders nothing unless the draft uses anomaly detection, and nothing while useAlertingDialogContext().isLoading is true.
export declare function AlertingDialogGranularity(overrides: Partial<IAlertingDialogGranularityProps>): ReactElement;
Parameters
Parameter | Type | Description |
|---|---|---|
overrides | Partial<IAlertingDialogGranularityProps> |
Returns
ReactElement