'use client'; import type { GameView } from '@/game/engine'; import type { NativeReserveSelections } from '@/game/homeworld-native-reserves'; import { homeworldName } from '@/game/homeworld-shipment-options'; export function reinforcementsSourceLabel(game: GameView, sources: NativeReserveSelections): string { return Object.entries(sources).map(([world, forces]) => `${homeworldName(game, world)}: ${forces.normal} normal + ${forces.elite} special`).join('; '); } export function ReinforcementsSources({ game, choices, selected, onChange, busy }: { game: GameView; choices: readonly NativeReserveSelections[]; selected: number; onChange: (index: number) => void; busy: boolean; }) { if (!choices.length) return null; return
; }