import * as React from 'react'; import type { IScalingPolicyAlarmView } from '../../../../domain'; export interface IAlarmSummaryProps { alarm: IScalingPolicyAlarmView; } export const comparatorMap = { GreaterThanOrEqualToThreshold: '>=', GreaterThanThreshold: '>', LessThanOrEqualToThreshold: '<=', LessThanThreshold: '<', }; export const AlarmSummary = ({ alarm }: IAlarmSummaryProps) => (