"use strict";

var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
  return mod && mod.__esModule ? mod : {
    "default": mod
  };
};

Object.defineProperty(exports, "__esModule", {
  value: true
});

var jsx_runtime_1 = require("react/jsx-runtime");

var component_1 = __importDefault(require("@loadable/component"));

var load_progress_1 = require("../load-progress"); // eslint-disable-next-line @typescript-eslint/no-explicit-any


function LazyLoad(component) {
  if (!component) return;
  return component_1["default"](component, {
    fallback: jsx_runtime_1.jsx(load_progress_1.LoadProgressMemo, {
      isAnimating: true
    }, void 0)
  });
}

exports["default"] = LazyLoad;

