tldraw
Version:
A tiny little drawing editor.
12 lines (11 loc) • 546 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { LoadingScreen as LoadingScreenContainer, useEditorComponents } from "@tldraw/editor";
import { TldrawUiContextProvider } from "../context/TldrawUiContextProvider.mjs";
const LoadingScreen = () => {
const { Spinner } = useEditorComponents();
return /* @__PURE__ */ jsx(TldrawUiContextProvider, { children: /* @__PURE__ */ jsx(LoadingScreenContainer, { children: Spinner ? /* @__PURE__ */ jsx(Spinner, {}) : null }) });
};
export {
LoadingScreen
};
//# sourceMappingURL=LoadingScreen.mjs.map