useAlertingDialogGranularityProps()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
The exact props the default alerting dialog renders its granularity field with.
onGranularityChange closes over the selected measure (and relative operator), so it takes only the field’s value.
Throws outside the alerting dialog’s state providers.
export declare function useAlertingDialogGranularityProps(): IAlertingDialogGranularityProps;
Returns