{"size": 437, "ext": "js", "max_stars_repo_path": "frontend/src/statelessComponents/PlayerList.js", "max_stars_repo_name": "jesselsmith/creature-coliseum", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "frontend/src/statelessComponents/PlayerList.js", "max_issues_repo_name": "jesselsmith/creature-coliseum", "max_issues_repo_issues_event_min_datetime": "2021-05-19T20:46:22.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T01:07:15.000Z", "max_forks_repo_path": "frontend/src/statelessComponents/PlayerList.js", "max_forks_repo_name": "jesselsmith/creature-coliseum", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 8, "max_forks_count": null, "avg_line_length": 27.3125, "max_line_length": 113, "alphanum_fraction": 0.6910755149}
import React from 'react';
import Player from '../componentsWithState/Player'
import PlayerForm from '../componentsWithState/PlayerForm'

const playerList = props => {
  return (
    <div>
      <h3>Players</h3>
      {props.players.map(player => <Player player={player} key={player.id} deletePlayer={props.deletePlayer} />)}
      <PlayerForm encounterId={props.encounterId} method='POST' />
    </div>
  )
}

export default playerList
