import React from "react"; import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui"; import { Badge } from "@/components/ui"; import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui"; import { Button } from "@/components/ui"; import { X } from "lucide-react"; import { YamlEditor } from "./YamlEditor"; interface ConfigMapDetailProps { configMapName: string; namespace: string; _clusterId: string; onClose: () => void; } export function ConfigMapDetail({ configMapName, namespace, _clusterId, onClose }: ConfigMapDetailProps) { const [activeTab, setActiveTab] = React.useState("data"); return (
{`{
"debug": true,
"logLevel": "info"
}`}
{`app.name=MyApp
app.version=1.0.0
app.port=8080`}