import React from "react"; import { Button } from "@/components/ui"; import { Settings, Bell, User, Search, Plus, RefreshCw } from "lucide-react"; import { Badge } from "@/components/ui"; import { useKubernetesStore } from "@/stores/kubernetesStore"; import { useStore } from "zustand"; interface HotbarProps { onRefresh: () => void; onAddResource: () => void; onSettings: () => void; onNotifications?: () => void; notificationCount?: number; } export function Hotbar({ onRefresh, onAddResource, onSettings, onNotifications, notificationCount = 0 }: HotbarProps) { const clusters = useStore(useKubernetesStore, (state) => state.clusters); const selectedClusterId = useStore(useKubernetesStore, (state) => state.selectedClusterId); const selectedCluster = clusters.find((c: { id: string }) => c.id === selectedClusterId); return (