import t from"prop-types";import{makeStyles as e,Tooltip as i}from"@material-ui/core";import{jsx as a}from"react/jsx-runtime";var r="/static/media/3f3100ae49e552599e0bbd9b60eb783d.svg",s="/static/media/7dcfb5193fd2f60e28374f31ee0a26bf.svg",c={bit:"Bit",other:"Non Magnetic",pdm:"PDM",rss:"Rotary Steerables",stabilizer:"Stabilizer",ags:"AGS"},d=e({iconWrapper:{width:function(t){return t.width},height:function(t){return t.height}},tileIcon:{width:"100%",height:"100%"}});function n(t){var e,n=t.component,m=t.width,o=t.height,f=n.family,h=(n.material,d({width:m,height:o}));return e="bit"===f?"/static/media/50e73f59728296f6d5a248384d53193a.svg":"pdm"===f?"/static/media/d8f7c4b371a4666ca44cae9ec3058c26.svg":"rss"===f?"/static/media/bf34c472868f0f04afd2523062f9f363.svg":"stabilizer"===f||"ags"===f?r:s,a(i,{title:c[f]||c.other,placement:"bottom",children:a("div",{className:h.iconWrapper,children:a("img",{src:e,className:h.tileIcon,alt:f})})})}n.propTypes={width:t.string.isRequired,height:t.number.isRequired,component:t.shape({family:t.string,material:t.string,bit_type:t.string}).isRequired};export{n as default};
//# sourceMappingURL=BHATileIcon.js.map
