"use strict";

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

function Header(props) {
  return /*#__PURE__*/React.createElement("header", {
    className: "messenger-header"
  }, /*#__PURE__*/React.createElement("div", {
    className: "messenger-header-title"
  }, /*#__PURE__*/React.createElement("b", null, props.title ? props.title : "Text Me")), /*#__PURE__*/React.createElement("div", {
    className: "messenger-header-options"
  }, /*#__PURE__*/React.createElement("span", {
    className: "messengerMinimize",
    onClick: () => props.handleMinizeClick()
  }, /*#__PURE__*/React.createElement("i", {
    className: "fas fa-window-minimize"
  })), /*#__PURE__*/React.createElement("span", {
    className: "dropbtn",
    onClick: () => props.handleCloseClick()
  }, /*#__PURE__*/React.createElement("i", {
    className: "fas fa-times"
  }))));
}

var _default = Header;
exports.default = _default;