import React from "react" function userIcon(client) { if (client.muted) { return "🔇" } if (client.micMuted) { return "🎤" } return "👤" } function Channel(props) { return (
✅ {props.channel.name}
{props.channel.clients.map(c =>{ return
{userIcon(c)} {c.nickname}
})}
{props.channel.children.map(c => { return })}
) } export default Channel