import React from 'react'
import { Flex } from 'reflexbox'
import { Text, Space, Button } from 'rebass'
const GameList = (props) => (
{props.games.map((game, index) => {
const joinGame = () => props.joinGame(game.get('id'))
return (
{game.get('name')}
)
})}
)
export default GameList