import{__rest as a}from"../../_virtual/_tslib.js";import{jsx as s}from"react/jsx-runtime";import r from"classnames";import{BEMClass as e}from"../../helpers/bem-helper.js";import t from"../Icon/CustomSvgIcon/CustomSvgIcon.js";import{AvatarSize as o}from"./AvatarConstants.js";import"./AvatarBadge.scss.js";var i=e("l3-style-avatar-badge"),m=function(e){var m=e.src,l=e.ariaLabel,c=e.tabIndex,n=void 0===c?0:c,b=e.className,v=e.size,p=void 0===v?o.LARGE:v,j=a(e,["src","ariaLabel","tabIndex","className","size"]);return m?s(t,Object.assign({src:m,ariaLabel:l,className:r("l3-style-avatar-badge",i({state:p}),b),clickable:-1===n},j)):null};Object.assign(m,{sizes:o});export{m as AvatarBadge};
