import React from 'react';
import classnames from 'classnames';
import i18n from 'ui-i18n';
import Chip from '@mui/material/Chip';
import styles from './StatusChips.module.css';
export var StatusChips = function (_a) {
    var showUpdatedChip = _a.showUpdatedChip, showRejectedChip = _a.showRejectedChip;
    if (!showUpdatedChip && !showRejectedChip) {
        return null;
    }
    var label = showUpdatedChip ? i18n.text('Updated') : i18n.text('Rejected');
    var chipClass = showUpdatedChip ? styles.updatedChip : styles.rejectedChip;
    return (React.createElement(Chip, { label: label, size: "small", color: "primary", variant: "outlined", className: classnames(styles.statusChip, chipClass), "data-testid": "status-chips" }));
};
