import React from 'react'; interface HeaderProps { isConnected: boolean; onOpenRegister: () => void; onQuickSpawn: () => void; onResetBoard: () => void; playerCount: number; } export const Header: React.FC = ({ isConnected, onOpenRegister, onQuickSpawn, onResetBoard, playerCount, }) => { return (
{/* Brand & Stats */}
W

botWebWars v1.0

64×64 Grid Arena • Coords (0,0) to (64,64)

{/* Live status badge */}
{isConnected ? 'LIVE SYNC' : 'CONNECTING...'}
{/* Action Buttons */}
API Docs ↗ {playerCount > 0 && ( )}
); };