'use strict';

var React = require('react');
var consts = require('../consts-c7178b6e.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

function MentionUserLabel(_ref) {
  let {
    className = '',
    children,
    isReverse = false,
    color,
    userId
  } = _ref;
  return /*#__PURE__*/React__default["default"].createElement("span", {
    className: `${consts.MENTION_USER_LABEL_CLASSNAME} ${className} ${isReverse ? 'reverse' : ''} ${color}`,
    contentEditable: false,
    "data-userid": userId,
    "data-sb-mention": true
  }, children);
}

module.exports = MentionUserLabel;
//# sourceMappingURL=MentionUserLabel.js.map
