"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _datePicker = _interopRequireDefault(require("antd/lib/date-picker"));
var _hoc = require("../../utils/hoc");
var OriginalRangePicker = _datePicker["default"].RangePicker;
var DatePicker = (0, _hoc.withMomentProps)(_datePicker["default"], ['defaultPickerValue', 'defaultValue', 'showTime.defaultValue', 'value']);
var RangePicker = (0, _hoc.withMomentProps)(OriginalRangePicker, ['defaultPickerValue', 'defaultValue', 'showTime.defaultValue', 'value']);
DatePicker.RangePicker = RangePicker;
var _default = exports["default"] = DatePicker;