import React, { useState } from "react"; import {ConfigEditorSidebar} from "@/apps/Config Editor/ConfigEditorSidebar.tsx"; import {ConfigCodeEditor} from "@/apps/Config Editor/ConfigCodeEditor.tsx"; import {ConfigTopbar} from "@/apps/Config Editor/ConfigTopbar.tsx"; interface ConfigEditorProps { onSelectView: (view: string) => void; } export function ConfigEditor({onSelectView}: ConfigEditorProps): React.ReactElement { const [content, setContent] = useState(""); const [fileName, setFileName] = useState("config.yaml"); return (
{/* Sidebar - fixed width, full height */}
{/* Topbar - fixed height, full width minus sidebar */}
{/* Editor area - fills remaining space, with padding for sidebar and topbar */}
) }