import{jsx as t}from"react/jsx-runtime";import e from"classnames";import{TableCell as o,Typography as r}from"@material-ui/core";import{ColumnType as i}from"../../../../constants.js";import{PAGE_NAME as n}from"../types.js";import s from"../../components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js";var l=function(l){var a,m,c,d=l.data,f=l.borderStyle,v=l.columnsMap;return t(o,{"data-testid":"".concat(n,"_interventionAsset"),className:e(s.bodyCell,f),style:{minWidth:(null===(a=v.get(i.interventionAsset))||void 0===a?void 0:a.minWidth)||0,flex:(null===(m=v.get(i.interventionAsset))||void 0===m?void 0:m.flex)||0},children:t(r,{variant:"body2",className:s.cellData,children:(c=d[i.interventionAsset],Array.isArray(c)&&c.length>0?c.join(", "):c?String(c):"—")})})};export{l as InterventionAssetCell};
//# sourceMappingURL=InterventionAssetCell.js.map
