import type { SceneLoadingState } from "@/types/world/sceneLoading"; interface SceneLoadingOverlayProps { state: SceneLoadingState; } export function SceneLoadingOverlay({ state, }: SceneLoadingOverlayProps): React.JSX.Element | null { const isReady = state.status === "ready"; const progress = Math.round(Math.max(0, Math.min(1, state.progress)) * 100); return (
{state.currentStep}
{progress}%
); }