UNPKG

1.12 kBJavaScriptView Raw
1import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2import _createClass from "@babel/runtime/helpers/createClass";
3import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
4import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
5import _inherits from "@babel/runtime/helpers/inherits";
6import React from 'react';
7import CalendarLocale from './rc-calendar/lib/locale/zh_CN';
8import RcCalendar from './rc-calendar/lib/index';
9
10var CalendarOutside =
11/*#__PURE__*/
12function (_React$Component) {
13 _inherits(CalendarOutside, _React$Component);
14
15 function CalendarOutside() {
16 _classCallCheck(this, CalendarOutside);
17
18 return _possibleConstructorReturn(this, _getPrototypeOf(CalendarOutside).apply(this, arguments));
19 }
20
21 _createClass(CalendarOutside, [{
22 key: "render",
23 value: function render() {
24 return React.createElement(RcCalendar, this.props);
25 }
26 }]);
27
28 return CalendarOutside;
29}(React.Component);
30
31CalendarOutside.defaultProps = {
32 locale: CalendarLocale,
33 prefixCls: 'ant-calendar'
34};
35export { CalendarOutside as default };
\No newline at end of file