import{jsxs as e,jsx as r,Fragment as i}from"react/jsx-runtime";import{memo as a,useCallback as t}from"react";import{Avatar as o}from"../../Avatar/Avatar.js";import{Chip as m}from"../../Chip/Chip.js";import{TextEndTruncated as s}from"../../TextEndTruncated/TextEndTruncated.js";import{Text as n}from"../../Text/Text.js";import{Menu as c}from"../../Menu/Menu.js";import l from"./ShareModal.scss.js";var f=a((function(a){var f=a.onClick,d=a.isSelected,p=a.user,h=p.first_name,u=p.last_name,x=p.profile_photo,j=p.email,T="".concat(h," ").concat(u),v=t((function(){return f(p)}),[f,p]);return e(c.Item,{className:l.item,size:"large",onClick:v,prefix:r(i,{children:r(o,{imageSrc:x,name:T,size:32,className:l.affix})}),suffix:d?r(i,{children:r(m,{size:"small",shape:"square",className:l.affix,children:"Shared"})}):void 0,children:[r(s,{children:T}),r(n,{tagName:"div",size:14,color:"T6",children:r(s,{children:j})})]})}));export{f as Item};
//# sourceMappingURL=Item.js.map
