1 | import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
2 | import _createClass from "@babel/runtime/helpers/createClass";
|
3 | import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
4 | import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
5 | import _inherits from "@babel/runtime/helpers/inherits";
|
6 | import React from 'react';
|
7 | import CalendarLocale from './rc-calendar/lib/locale/zh_CN';
|
8 | import RcCalendar from './rc-calendar/lib/index';
|
9 |
|
10 | var CalendarOutside =
|
11 |
|
12 | function (_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 |
|
31 | CalendarOutside.defaultProps = {
|
32 | locale: CalendarLocale,
|
33 | prefixCls: 'ant-calendar'
|
34 | };
|
35 | export { CalendarOutside as default }; |
\ | No newline at end of file |