"use strict";

require("./demo4.css");

var _ = _interopRequireDefault(require(".."));

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

var _reactDom = _interopRequireDefault(require("react-dom"));

var _moment = _interopRequireDefault(require("moment"));

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

var currentDate = (0, _moment["default"])();

var disabledDate = function disabledDate(date) {
  return date.valueOf() > currentDate.valueOf();
};

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", {
  className: "wrapped-calendar"
}, /*#__PURE__*/_react["default"].createElement(_["default"], {
  disabledDate: disabledDate,
  shape: "card"
})), document.getElementById('calendar-demo-4'));