Skip to content

Instantly share code, notes, and snippets.

@groverjatin17
groverjatin17 / PokemonTable.tsx
Created November 25, 2022 00:42
A table to display pokemon data in a Table.
import * as React from "react";
import Table from "@mui/material/Table";
import TableBody from "@mui/material/TableBody";
import TableCell from "@mui/material/TableCell";
import TableContainer from "@mui/material/TableContainer";
import TableHead from "@mui/material/TableHead";
import TableRow from "@mui/material/TableRow";
import Paper from "@mui/material/Paper";
import { Ability, PokemonApiResponse } from "../../types/PokemonType";
import { useSelector } from "react-redux";