"use strict";

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

function MultiLineText(props) {
  var sender = "sender" in props ? props.sender : "Bot";
  var 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(function (txt, i) {
    return /*#__PURE__*/React.createElement("li", {
      key: "unli".concat(new Date().getTime()).concat(i)
    }, txt.trim());
  }))));
}

var _default = MultiLineText;
exports["default"] = _default;