"use strict";

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

var _react = _interopRequireDefault(require("react"));

var _utils = require("@teamix/utils");

require("./index.scss");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/** 表格标题区 */
var cls = (0, _utils.baseClass)('teamix-pro-table-header');

function Header(props) {
  var headerTitle = props.headerTitle,
      headerTooltip = props.headerTooltip,
      headerTooltipIcon = props.headerTooltipIcon;
  return /*#__PURE__*/_react.default.createElement("div", {
    className: cls()
  }, /*#__PURE__*/_react.default.createElement(_utils.LabelIconTip, {
    label: headerTitle,
    tooltip: headerTooltip,
    icon: headerTooltipIcon,
    iconSize: "medium"
  }));
}