import"./UserSelectValue.css";import{IconClose}from"@consta/icons/IconClose";import React from"react";import{cnCanary}from"../../../utils/bem";import{User}from"../../User/User";export var cnUserSelectValue=cnCanary("UserSelectValue");export var UserSelectValue=function(a){var b=a.size,c=a.label,d=a.subLabel,e=a.disabled,f=a.handleRemove,g=a.avatarUrl,h=a.multiple;return React.createElement(User,{className:cnUserSelectValue({multiple:h,size:b,disabled:e}),avatarUrl:g,name:c,info:d,size:b,view:h?"ghost":"clear",iconRight:!e&&h?IconClose:void 0,onIconRightClick:!e&&h?f:void 0})};
//# sourceMappingURL=UserSelectValue.js.map