create <FilterablePokedexTable /> to render <PokemonTypeSelection /> and filtered <PokedexTable />
Closed this issue · 0 comments
DarrenSem commented
https://t3-tools.notion.site/Pokedex-Problem-90f9dcfff10d4418a6fad44581b1ecff
Part 3
Provided a <PokemonTypeSelection />
component with the following props
type PokemonTypeSelectionProps = {
selectedType: string | undefined;
selectType: (type: string | undefined) => void;
}
...create a <FilterablePokedexTable />
component that renders both the <PokemonTypeSelection />
component and <PokedexTable />
component. Make sure you only display Pokemon with the selected type!