import React from 'react' interface AdminDrawerProps { open: boolean onClose: () => void users: Array<{ userId: string name: string color: string status: string }> } export const AdminDrawer: React.FC = ({ open, onClose, users }) => { if (!open) return null const handleSpectate = (userId: string) => { onClose() // In a real app, this would fly to the user's krate position console.log(`Spectating user: ${userId}`) } return (

Users

{users.map((user) => (
e.stopPropagation()} >
{user.name.slice(0, 2).toUpperCase()}
{user.name}
{user.status}
))}
) }