Newer
Older
pokemon-go-trade / static / html / src / components / want-group.js
Simon Lindgren on 12 Feb 2021 493 bytes first commit
import React from 'react';
import PokemonList from './pokemon-list';

class WantGroup extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      groupName: props.groupName,
    };
  }

  componentDidMount() {
  }

  render() {
    const that = this;

    const { pokemonList } = that.props;

    return (
      <div>
        <h1>{this.state.groupName}</h1>
        <PokemonList pokemonList={pokemonList} />
      </div>
    );
  }
}

export default WantGroup;