export function SurfaceList({ surfaces, active, onSelect, }: { surfaces: string[]; active: string | null; onSelect: (id: string) => void; }) { return (
SURFACES
{surfaces.map((id) => (
onSelect(id)} style={{ padding: "4px 6px", cursor: "pointer", borderRadius: 4, background: id === active ? "#333" : "transparent", fontFamily: "monospace", fontSize: 12, }} > {id}
))}
); }