"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _CustomDivider = require("./CustomDivider");
var _StyledComponents = require("../styled/StyledComponents");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const MessageTranslations = ({
  message,
  langSource,
  config
}) => {
  return langSource && message.langSource ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
    children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CustomDivider.CustomDivider, {
      configColor: config?.colors?.primary
    }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_StyledComponents.CustomMessageText, {
      colorUser: "",
      children: message.translations?.[langSource]?.translatedText
    })]
  }) : null;
};
var _default = exports.default = MessageTranslations;
//# sourceMappingURL=MessageTranslations.js.map