import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Paper, Box, Button, } from "@mui/material"; const data1 = [ { state: "Success", count: 120, percentage: "60%", color: "green" }, { state: "Pending", count: 50, percentage: "25%", color: "orange" }, { state: "Failed", count: 20, percentage: "10%", color: "red" }, { state: "Other", count: 10, percentage: "5%", color: "gray" }, ]; export const TransactionsOverviewTable = () => { return ( State Count Percentage Action {data1.map((row) => ( {row.state} {row.count} {row.percentage} ))}
); };