fumadocs-openapi
Version:
Generate MDX docs for your OpenAPI spec
14 lines (12 loc) • 304 B
JavaScript
import { lazy } from "react";
import { jsx } from "react/jsx-runtime";
//#region src/utils/lazy.tsx
function wrapLazy(load) {
const V = lazy(load);
return function wrapper(props) {
return /* @__PURE__ */ jsx(V, { ...props });
};
}
//#endregion
export { wrapLazy };
//# sourceMappingURL=lazy.js.map