choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
39 lines (31 loc) • 1.37 kB
JavaScript
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
import _createClass from "@babel/runtime/helpers/createClass";
import _get from "@babel/runtime/helpers/get";
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
import _inherits from "@babel/runtime/helpers/inherits";
import _createSuper from "@babel/runtime/helpers/createSuper";
import DatePicker from '../date-picker/DatePicker';
import { ViewMode } from '../date-picker/enum';
var MonthPicker = /*#__PURE__*/function (_DatePicker) {
_inherits(MonthPicker, _DatePicker);
var _super = _createSuper(MonthPicker);
function MonthPicker() {
_classCallCheck(this, MonthPicker);
return _super.apply(this, arguments);
}
_createClass(MonthPicker, [{
key: "getWrapperClassNames",
value: function getWrapperClassNames() {
var prefixCls = this.prefixCls;
return _get(_getPrototypeOf(MonthPicker.prototype), "getWrapperClassNames", this).call(this, "".concat(prefixCls, "-month-picker-wrapper"));
}
}]);
return MonthPicker;
}(DatePicker);
export { MonthPicker as default };
MonthPicker.displayName = 'MonthPicker';
MonthPicker.defaultProps = _objectSpread(_objectSpread({}, DatePicker.defaultProps), {}, {
mode: ViewMode.month
});
//# sourceMappingURL=MonthPicker.js.map