import React, { FC } from 'react'; import { CombinedRuleGroup } from 'app/types/unified-alerting'; import { DetailsField } from '../DetailsField'; interface Props { group: CombinedRuleGroup; } const RuleDetailsFederatedSources: FC = ({ group }) => { const sourceTenants = group.source_tenants ?? []; return ( <> {sourceTenants.map((tenant) => (
{tenant}
))}
); }; export { RuleDetailsFederatedSources };