import { Box, Edit, Layers, Lock, Server } from 'react-feather'; import { EnvironmentId } from '@/portainer/environments/types'; import { Authorized } from '@/portainer/hooks/useUser'; import Helm from '@/assets/ico/vendor/helm.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 && (
)} ); }