UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

36 lines (28 loc) 957 B
import _extends from "@babel/runtime/helpers/extends"; import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; import _createClass from "@babel/runtime/helpers/createClass"; import _inherits from "@babel/runtime/helpers/inherits"; import _createSuper from "@babel/runtime/helpers/createSuper"; import React from 'react'; import ViewComponent from '../core/ViewComponent'; var Mask = /*#__PURE__*/function (_ViewComponent) { _inherits(Mask, _ViewComponent); var _super = _createSuper(Mask); function Mask() { _classCallCheck(this, Mask); return _super.apply(this, arguments); } _createClass(Mask, [{ key: "render", value: function render() { return /*#__PURE__*/React.createElement("div", _extends({}, this.getMergedProps())); } }]); return Mask; }(ViewComponent); export { Mask as default }; Mask.displayName = 'Mask'; Mask.defaultProps = { suffixCls: 'mask' }; //# sourceMappingURL=Mask.js.map