import { Box, Edit, Layers, Lock, Server, Shuffle } from 'lucide-react'; import { EnvironmentId } from '@/react/portainer/environments/types'; import { Authorized } from '@/react/hooks/useUser'; import Helm from '@/assets/ico/vendor/helm.svg?c'; import Route from '@/assets/ico/route.svg?c'; import { DashboardLink } from '../items/DashboardLink'; import { SidebarItem } from '../SidebarItem'; import { VolumesLink } from '../items/VolumesLink'; import { useSidebarState } from '../useSidebarState'; import { KubectlShellButton } from './KubectlShell'; interface Props { environmentId: EnvironmentId; } export function KubernetesSidebar({ environmentId }: Props) { const { isOpen } = useSidebarState(); return ( <> {isOpen && (
)} ); }