"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.NoPrint = void 0;

var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

var _react = _interopRequireDefault(require("react"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var NoPrint =
/*#__PURE__*/
function (_React$Component) {
  (0, _inheritsLoose2.default)(NoPrint, _React$Component);

  function NoPrint() {
    return _React$Component.apply(this, arguments) || this;
  }

  var _proto = NoPrint.prototype;

  _proto.render = function render() {
    var children = this.props.children;
    return _react.default.createElement("span", {
      className: "rc-print-area-hide"
    }, children);
  };

  return NoPrint;
}(_react.default.Component);

exports.NoPrint = NoPrint;
(0, _defineProperty2.default)(NoPrint, "propTypes", {
  children: _propTypes.default.node.isRequired
});