import { useNavigate } from "react-router"; import type { Tokens } from "../../api/client"; import { Button, Grid, Paper, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Typography, } from "@mui/material"; export const TokensSummary = (props: { tokens: Tokens }) => { const { tokens } = props; const { purchased, consumed, used, available } = tokens; const navigate = useNavigate(); return ( Your tokens summary Purchased Consumed Allocated Available {purchased} {consumed} {used} {available}
); };