diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2017-01-22 15:33:50 +0100 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2017-01-22 15:33:50 +0100 |
commit | eeb83fbf0b2729923923144fc5c6299dda9c51c1 (patch) | |
tree | 2d31031012848fdd99eba0272ac9465dc2d00ba2 /frontend/src/components | |
parent | Add forgotten immutable data and remove unhandled action case (diff) | |
download | seven-wonders-eeb83fbf0b2729923923144fc5c6299dda9c51c1.tar.gz seven-wonders-eeb83fbf0b2729923923144fc5c6299dda9c51c1.tar.bz2 seven-wonders-eeb83fbf0b2729923923144fc5c6299dda9c51c1.zip |
Cleaned containers
Diffstat (limited to 'frontend/src/components')
-rw-r--r-- | frontend/src/components/gamesList.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/frontend/src/components/gamesList.js b/frontend/src/components/gamesList.js new file mode 100644 index 00000000..0519e7d6 --- /dev/null +++ b/frontend/src/components/gamesList.js @@ -0,0 +1,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 |