import React from 'react';
import _retryImport from '../../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 _retryImport(importFn, moduleName, retriesLeft, delay);
  });
};

export { lazyWithRetry as default };
//# sourceMappingURL=lazyWithRetry.js.map
