function SecondTable(props) {
  return (
    <div className="secondTable">
      <table>
        <tr>
          <th>Name</th>
          <th>Image</th>
          <th>Unfav</th>
        </tr>
        {props.favPokeList.length > 0 &&
          props.favPokeList.map((pokemon) => {
            return (
              <tr>
                <td>{pokemon.name}</td>
                <td>
                  <img src={pokemon.sprites.front_default} />
                </td>
                <td>
                  <a
                    href="#"
                    onClick={() => props.pokeController.deletePokemon(pokemon)}
                  >
                    Unfav
                  </a>
                </td>
              </tr>
            );
          })}
      </table>
    </div>
  );
}
/**
 * This element displays all the starred (favoritados) pokemons from FirstTable
 * @param {*} props
 */
This element displays all the starred (favoritados) pokemons from FirstTable
@param {*} props
This element displays all the starred ( favoritados ) pokemons from FirstTable @param { * } props
function SecondTable(props) {
  return (
    <div className="secondTable">
      <table>
        <tr>
          <th>Name</th>
          <th>Image</th>
          <th>Unfav</th>
        </tr>
        {props.favPokeList.length > 0 &&
          props.favPokeList.map((pokemon) => {
            return (
              <tr>
                <td>{pokemon.name}</td>
                <td>
                  <img src={pokemon.sprites.front_default} />
                </td>
                <td>
                  <a
                    href="#"
                    onClick={() => props.pokeController.deletePokemon(pokemon)}
                  >
                    Unfav
                  </a>
                </td>
              </tr>
            );
          })}
      </table>
    </div>
  );
}
function SecondTable ( props ) { return ( < div className = "secondTable" > < table > < tr > < th > Name < / th > < th > Image < / th > < th > Unfav < / th > < / tr > { props . favPokeList . length > 0 && props . favPokeList . map ( ( pokemon ) => { return ( < tr > < td > { pokemon . name } < / td > < td > < img src = { pokemon . sprites . front_default } / > < / td > < td > < a href = "#" onClick = { ( ) => props . pokeController . deletePokemon ( pokemon ) } > 
                    Unfav
                   < / a > < / td > < / tr > ) ; } ) } < / table > < / div > ) ; }
This element displays all the starred (favoritados) pokemons from FirstTable
 @param {*} props
This element displays all the starred ( favoritados ) pokemons from FirstTable @param { * } props