@hanzo/ui

SwarmBar

import { SwarmBar } from '@hanzo/ui/agents'

No examples yet.

Types

export interface AgentDescriptor {
  id: string
  name: string
  handle: string
  icon: string
  role: string
  active?: boolean
}
export interface SwarmBarProps {
  agents: AgentDescriptor[]
  selectedAgentId?: string
  onSelectAgent?: (agentId: string) => void
  onAddAgent?: () => void
  className?: string
  style?: React.CSSProperties
}

Exports

SwarmBartype AgentDescriptortype SwarmBarProps