]> git.localhorst.tv Git - alttp.git/blob - resources/js/components/episodes/Players.js
remove some useless svg groups
[alttp.git] / resources / js / components / episodes / Players.js
1 import PropTypes from 'prop-types';
2 import React from 'react';
3
4 import Player from './Player';
5
6 const Players = ({ players }) =>
7         <div className="episode-players">
8                 {players.map(player =>
9                         <Player key={player.id} player={player} />
10                 )}
11         </div>;
12
13 Players.propTypes = {
14         players: PropTypes.arrayOf(PropTypes.shape({
15                 id: PropTypes.number,
16         })),
17 };
18
19 export default Players;