import { EditorView } from "@aitube/clapper-services" import { useEditors } from "@/services" import { EditorsSideMenu } from "../toolbars/editors-menu/EditorsSideMenu" import { ScriptEditor } from "./ScriptEditor" import { useTheme } from "@/services/ui/useTheme" import { EntityEditor } from "./EntityEditor" import { ProjectEditor } from "./ProjectEditor" import { SegmentEditor } from "./SegmentEditor" export function Editors() { const theme = useTheme() const view = useEditors(s => s.view) return (
{view === EditorView.SCRIPT ? : view === EditorView.PROJECT ? : view === EditorView.ENTITY ? : view === EditorView.SEGMENT ? :
TODO
}
) }