'use strict';

var React = require('react');
var v2_utils_retryImport = require('../../utils/retryImport.js');

var lazyWithRetry = function lazyWithRetry(importFn, moduleName) {
  var retriesLeft = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
  var delay = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1000;
  return /*#__PURE__*/React.lazy(function () {
    return v2_utils_retryImport(importFn, moduleName, retriesLeft, delay);
  });
};

module.exports = lazyWithRetry;
//# sourceMappingURL=lazyWithRetry.js.map
