text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = Months;
  
  var _react = _interopRequireDefault(require("react"));
  
  var _propTypes = _interopRequireDefault(require("prop-types"));
  
  var _TileGroup = _interopRequireDefault(require("../TileGroup"));
  
  var _Month = _interopRequireDefault(require("./Month"));
  
  var _dates = require("../shared/dates");
  
  var _propTypes2 = require("../shared/propTypes");
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
  
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
  
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  
  function Months(props) {
    var activeStartDate = props.activeStartDate;
    var start = 0;
    var end = 11;
    var year = (0, _dates.getYear)(activeStartDate);
    return _react.default.createElement(_TileGroup.default, _extends({}, props, {
      className: "react-calendar__year-view__months",
      dateTransform: function dateTransform(monthIndex) {
        return new Date(year, monthIndex, 1);
      },
      dateType: "month",
      end: end,
      start: start,
      tile: _Month.default
    }));
  }
  
  Months.propTypes = _objectSpread({}, _propTypes2.tileGroupProps, {
    locale: _propTypes.default.string
  });