@sendbird/uikit-react
Version:
Sendbird UIKit for React: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.
12 lines (9 loc) • 720 B
JavaScript
import React__default from 'react';
import { M as MENTION_USER_LABEL_CLASSNAME } from '../chunks/bundle-D6b2YGeE.js';
import { c as classnames } from '../chunks/bundle-MlG9piGf.js';
function MentionUserLabel(_a) {
var _b = _a.className, className = _b === void 0 ? '' : _b, children = _a.children, _c = _a.isReverse, isReverse = _c === void 0 ? false : _c, color = _a.color, userId = _a.userId;
return (React__default.createElement("span", { className: classnames(MENTION_USER_LABEL_CLASSNAME, className, isReverse && 'reverse', color), contentEditable: false, "data-userid": userId, "data-sb-mention": true }, children));
}
export { MentionUserLabel as default };
//# sourceMappingURL=MentionUserLabel.js.map