summaryrefslogtreecommitdiff
path: root/frontend/src/components/gamesList.js
blob: 0519e7d60399c035b23593080e78f2d427bc780b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import React from 'react'
import { Flex } from 'reflexbox'
import { Text, Space } from 'rebass'

const GameBrowser = (props) => (
  <div>
    {props.games.valueSeq().map((game, index) => {
      return (<Flex key={index}>
        <Text>{game.get('name')}</Text>
        <Space auto />
        <a href="#">Join</a>
      </Flex>)
    })}
  </div>
)

export default GameBrowser
bgstack15