//@flow import { Text } from '@blueprintjs/core'; import { List } from 'immutable'; import React from 'react'; import { Flex } from 'reflexbox'; import { Player } from '../models/players'; export type PlayerListProps = { players: List; }; const PlayerItem = ({player}) => ( {player.displayName} ({player.username}) ); export const PlayerList = ({players}: PlayerListProps) => (
{players.map(player => )}
);