import _inheritsLoose from "@babel/runtime/helpers/inheritsLoose";
import _defineProperty from "@babel/runtime/helpers/defineProperty";
import React from 'react';
import PropTypes from 'prop-types';
export var NoPrint =
/*#__PURE__*/
function (_React$Component) {
  _inheritsLoose(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.createElement("span", {
      className: "rc-print-area-hide"
    }, children);
  };

  return NoPrint;
}(React.Component);

_defineProperty(NoPrint, "propTypes", {
  children: PropTypes.node.isRequired
});