UNPKG

@flanksource/clicky-ui

Version:

Flanksource Clicky UI — React component library built on shadcn/ui with light/dark and density theming.

26 lines (25 loc) 681 B
import { lazy, createElement, Suspense } from "react"; import { ApiExplorer, DEFAULT_OPENAPI_URL } from "./rpc/ApiExplorer.js"; const LazyEntityExplorerApp = lazy(async () => { const mod = await import("./rpc/EntityExplorerApp.js"); return { default: mod.EntityExplorerApp }; }); function EntityExplorerApp(props) { return createElement( Suspense, { fallback: createElement( "div", { className: "p-4 text-sm text-muted-foreground" }, "Loading explorer..." ) }, createElement(LazyEntityExplorerApp, props) ); } export { ApiExplorer, DEFAULT_OPENAPI_URL, EntityExplorerApp }; //# sourceMappingURL=api-explorer.js.map