diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2018-06-08 23:34:06 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2018-06-09 12:49:52 +0200 |
commit | 9298af15fdd228c51b1e5765c68c5062687ba96e (patch) | |
tree | 61329a8f0fc31cce85ea804e7c4667762287ddf9 /frontend/src/components/playerList.js | |
parent | Cleanup the mess (diff) | |
download | seven-wonders-9298af15fdd228c51b1e5765c68c5062687ba96e.tar.gz seven-wonders-9298af15fdd228c51b1e5765c68c5062687ba96e.tar.bz2 seven-wonders-9298af15fdd228c51b1e5765c68c5062687ba96e.zip |
Remove rebass dependency
Diffstat (limited to 'frontend/src/components/playerList.js')
-rw-r--r-- | frontend/src/components/playerList.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/frontend/src/components/playerList.js b/frontend/src/components/playerList.js index cc247668..bbdbc83b 100644 --- a/frontend/src/components/playerList.js +++ b/frontend/src/components/playerList.js @@ -1,8 +1,15 @@ +//@flow +import { Text } from '@blueprintjs/core'; +import { List } from 'immutable'; import React from 'react'; -import { Text } from 'rebass'; import { Flex } from 'reflexbox'; +import { Player } from '../models/players'; -export const PlayerList = ({ players }) => ( +export type PlayerListProps = { + players: List<Player>; +}; + +export const PlayerList = ({ players }: PlayerListProps) => ( <div> {players.map(player => { return ( |