text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = void 0;
  
  var _react = _interopRequireDefault(require("react"));
  
  var _propTypes = _interopRequireDefault(require("prop-types"));
  
  var _reactFastCompare = _interopRequireDefault(require("react-fast-compare"));
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
  
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  
  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
  
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
  
  function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
  
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
  
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  
  var Rect =
  /*#__PURE__*/
  function (_React$Component) {
    _inherits(Rect, _React$Component);
  
    function Rect() {
      _classCallCheck(this, Rect);
  
      return _possibleConstructorReturn(this, (Rect.__proto__ || Object.getPrototypeOf(Rect)).apply(this, arguments));
    }
  
    _createClass(Rect, [{
      key: "shouldComponentUpdate",
      value: function shouldComponentUpdate(nextProps) {
        return !(0, _reactFastCompare.default)(this.props, nextProps);
      }
    }, {
      key: "render",
      value: function render() {
        var _props = this.props,
            x = _props.x,
            y = _props.y,
            rx = _props.rx,
            ry = _props.ry,
            width = _props.width,
            height = _props.height,
            events = _props.events,
            className = _props.className,
            clipPath = _props.clipPath,
            style = _props.style,
            role = _props.role,
            shapeRendering = _props.shapeRendering,
            transform = _props.transform;
        return _react.default.createElement("rect", _extends({
          x: x,
          y: y,
          rx: rx,
          ry: ry,
          width: width,
          height: height,
          className: className,
          clipPath: clipPath,
          style: style,
          transform: transform,
          role: role || "presentation",
          shapeRendering: shapeRendering || "auto",
          vectorEffect: "non-scaling-stroke"
        }, events));
      }
    }]);
  
    return Rect;
  }(_react.default.Component);
  
  exports.default = Rect;
  Object.defineProperty(Rect, "propTypes", {
    configurable: true,
    enumerable: true,
    writable: true,
    value: {
      className: _propTypes.default.string,
      clipPath: _propTypes.default.string,
      events: _propTypes.default.object,
      height: _propTypes.default.number,
      role: _propTypes.default.string,
      rx: _propTypes.default.number,
      ry: _propTypes.default.number,
      shapeRendering: _propTypes.default.string,
      style: _propTypes.default.object,
      transform: _propTypes.default.string,
      width: _propTypes.default.number,
      x: _propTypes.default.number,
      y: _propTypes.default.number
    }
  });