import{memo as e}from"react";import{shape as r,number as n}from"prop-types";import{makeStyles as i,TableRow as a,TableCell as o}from"@material-ui/core";import{InfoOutlined as c}from"@material-ui/icons";import l from"../CasingComponentIcon.js";import{jsxs as t,jsx as m}from"react/jsx-runtime";var s=i({tableBodyCell:{padding:0,borderBottom:"none",height:49},componentIconCell:{padding:0,borderBottom:"none",height:49,display:"flex",alignItems:"center"},infoIcon:{fontSize:16,color:"#ccc"},iconWrapper:{width:"40px",height:"48px",display:"flex",justifyContent:"center",marginRight:"4px"}}),d=function(e){var r=e.component,n=e.order,i=s(),d=i.tableBodyCell,p=i.componentIconCell,h=i.infoIcon,f=i.iconWrapper;return t(a,{children:[m(o,{className:d,children:n}),t(o,{className:p,children:[m("div",{className:f,children:m(l,{component:r})}),m("div",{children:r.family_name||r.family})]}),m(o,{className:d,children:r.name}),m(o,{className:d,children:r.outer_diameter}),m(o,{className:d,children:r.inner_diameter}),m(o,{className:d,children:r.linear_weight}),m(o,{className:d,children:r.length}),m(o,{className:d,children:r.weight}),m(o,{className:d,children:r.cum_length}),m(o,{className:d,children:r.grade}),m(o,{className:d,children:m(c,{className:h})})]})};d.propTypes={component:r({}).isRequired,order:n.isRequired};var p=e(d);export{p as default};
//# sourceMappingURL=CasingComponent.js.map
