import React from 'react' import { Flex } from 'reflexbox' import { Text } from 'rebass' import Immutable from 'seamless-immutable' const PlayerList = (props) => (
{Immutable.asMutable(props.players).map((player, index) => { return ( {player.displayName} ({player.username}) ) })}
) export default PlayerList