{"size": 289, "ext": "js", "max_stars_repo_path": "src/PokemonList.js", "max_stars_repo_name": "Jamelle-Boose/react-pokedex", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/PokemonList.js", "max_issues_repo_name": "Jamelle-Boose/react-pokedex", "max_issues_repo_issues_event_min_datetime": "2020-09-07T09:44:04.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T18:13:25.000Z", "max_forks_repo_path": "src/PokemonList.js", "max_forks_repo_name": "Jamelle-Boose/react-pokedex", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 22.2307692308, "max_line_length": 103, "alphanum_fraction": 0.6089965398}
import React from "react";

export default function PokemonList({ pokemon }) {
  //TODO props.pokemon is being passed into the function, therefore destructuring can be passed into it
  return (
    <div>
      {pokemon.map(p => (
        <div key={p}>{p}</div>
      ))}
    </div>
  );
}
