import * as React from 'react'; import { Label } from '@patternfly/react-core'; import { RULE_STATUS_CONFIG } from '~/components/Conforma/utils'; import { CONFORMA_RESULT_STATUS } from '~/types/conforma'; type ConformaCountBadgeProps = { count: number; type: CONFORMA_RESULT_STATUS; }; export const ConformaCountBadge: React.FC = ({ count, type }) => { if (count === 0) { return 0; } const { Icon, labelColor } = RULE_STATUS_CONFIG[type]; return ( ); };