import { ProductionStatus } from "../production-status/production-status-enum";
const row = ({ number, name, isFav, toggleFavUrl, constructionYear, subEquipments, location, serviceAgreement, detailLink, inProduction, }) => {
return `
|
${name} |
${number} |
${!inProduction
? constructionYear
: renderProductionStatusLabel(inProduction)} |
${subEquipments} |
${location} |
${typeof serviceAgreement !== "undefined"
? `${serviceAgreement} | `
: ""}
|
`;
};
const renderProductionStatusLabel = (labelText) => {
return `${labelText}`;
};
export default row;