"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.CalendarSubHeader = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
var CalendarSubHeader = _ref => {
  var {
    dayLabels,
    showWeeks,
    cellPadding
  } = _ref;
  return /*#__PURE__*/_react.default.createElement("thead", null, /*#__PURE__*/_react.default.createElement("tr", null, showWeeks ? /*#__PURE__*/_react.default.createElement("td", {
    className: "text-muted current-week",
    style: {
      padding: cellPadding
    }
  }) : null, dayLabels.map((label, index) => /*#__PURE__*/_react.default.createElement("td", {
    key: index,
    className: "text-muted",
    style: {
      padding: cellPadding
    }
  }, /*#__PURE__*/_react.default.createElement("small", null, label)))));
};
exports.CalendarSubHeader = CalendarSubHeader;