UNPKG

@sendbird/uikit-react

Version:

Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

22 lines (19 loc) 1.1 kB
import React__default from 'react'; import Icon, { IconTypes, IconColors } from './Icon.js'; import '../chunks/bundle-yl5d1NoZ.js'; import '../chunks/bundle-MlG9piGf.js'; function MutedAvatarOverlay(props) { var _a = props.height, height = _a === void 0 ? 24 : _a, _b = props.width, width = _b === void 0 ? 24 : _b; return (React__default.createElement("div", { className: "sendbird-muted-avatar", style: { height: "".concat(height, "px"), width: "".concat(width, "px"), } }, React__default.createElement("div", { className: "sendbird-muted-avatar__icon" }, React__default.createElement("div", { className: "sendbird-muted-avatar__bg", style: { height: "".concat(height, "px"), width: "".concat(width, "px"), } }), React__default.createElement(Icon, { type: IconTypes.MUTE, fillColor: IconColors.WHITE, width: "".concat(height - 8, "px"), height: "".concat(width - 8, "px") })))); } export { MutedAvatarOverlay as default }; //# sourceMappingURL=MutedAvatarOverlay.js.map