"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

require("core-js/modules/es.string.trim.js");

function MultiLineText(props) {
  const sender = "sender" in props ? props.sender : "Bot";
  let bubbleStyle = sender === "Me" ? "chat right-chat" : "chat left-chat";
  return /*#__PURE__*/React.createElement("div", {
    key: "chat".concat(new Date().getTime()),
    className: bubbleStyle
  }, /*#__PURE__*/React.createElement("div", {
    key: "msgBubble".concat(new Date().getTime()),
    className: "chat-bubble"
  }, /*#__PURE__*/React.createElement("div", {
    key: "msgText".concat(new Date().getTime()),
    className: "chat-text"
  }, props.options.map((txt, i) => /*#__PURE__*/React.createElement("li", {
    key: "unli".concat(new Date().getTime()).concat(i)
  }, txt.trim())))));
}

var _default = MultiLineText;
exports.default = _default;