"use client";
import dynamic from "next/dynamic";
import { Skeleton } from "@/components/ui/skeleton";
import type { GuideSectionEditorProps } from "./editors/shared";
function EditorLoading() {
return ;
}
const WeaponEditor = dynamic(() => import("./editors/weapon-editor").then((module) => module.WeaponEditor), { loading: EditorLoading });
const ArtifactEditor = dynamic(() => import("./editors/artifact-editor").then((module) => module.ArtifactEditor), { loading: EditorLoading });
const ConstellationEditor = dynamic(() => import("./editors/constellation-editor").then((module) => module.ConstellationEditor), { loading: EditorLoading });
const TeamEditor = dynamic(() => import("./editors/team-editor").then((module) => module.TeamEditor), { loading: EditorLoading });
const ExtraEditor = dynamic(() => import("./editors/extra-editor").then((module) => module.ExtraEditor), { loading: EditorLoading });
export function GuideSectionEditor(props: GuideSectionEditorProps) {
return (
{props.section === "weapon" ?
: null}
{props.section === "artifact" ?
: null}
{props.section === "constellations" ?
: null}
{props.section === "team" ?
: null}
{props.section === "extra" ?
: null}
);
}