import React from "react"; import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui"; import { Button } from "@/components/ui"; import { Plus, X, Check } from "lucide-react"; import { Input } from "@/components/ui"; interface RbacEditorProps { _clusterId: string; namespace: string; onClose: () => void; } export function RbacEditor({ _clusterId, namespace, onClose }: RbacEditorProps) { const [activeTab, setActiveTab] = React.useState("roles"); const [newRoleName, setNewRoleName] = React.useState(""); return (
ClusterRole editing would be displayed here
RoleBinding editing would be displayed here
ClusterRoleBinding editing would be displayed here