import { lazy, Suspense } from "react"; import { Loader2 } from "lucide-react"; import type { EditorProps } from "@monaco-editor/react"; const MonacoEditor = lazy(() => import("@monaco-editor/react")); function EditorFallback({ height }: { height?: string | number }) { return (