"use strict";var e=require("react/jsx-runtime"),t=require("@material-ui/core"),i=require("../../Avatar/index.js"),o=require("../../../componentsV2/BadgeComment/BadgeIcon.js"),r=require("../../../utils/mobileDetect.js"),a=r.isNativeDetected||r.isMobileDetected,s=t.makeStyles((function(e){return{icon:{padding:0,"&:hover":{"& .MuiBadge-root .MuiBadge-badge svg path":{"&:first-of-type":{fill:e.palette.primary.light}},"& .MuiAvatar-root":{outline:"1px solid ".concat(e.palette.primary.light)}},marginTop:4},badge:{top:2,right:6,"&:hover":{"& svg path":{"&:first-of-type":{fill:e.palette.primary.light}}}},tooltip:{marginTop:8}}}));module.exports=function(r){var l=r.displayName,n=void 0===l?"":l,d=r.imgSrc,c=r.size,p=void 0===c?24:c,g=s();return e.jsx(t.Tooltip,{title:!a&&"Add Comment",placement:"bottom",classes:{tooltip:g.tooltip},children:e.jsx(t.IconButton,{classes:{root:g.icon},children:e.jsx(t.Badge,{classes:{badge:g.badge},badgeContent:e.jsx(o.BadgeIcon,{}),children:e.jsx(i.AvatarComponent,{displayName:n,size:p,imgSrc:d})})})})};
//# sourceMappingURL=index.js.map
