import { Card, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from 'ui' const invoices = [ { invoice: 'INV001', paymentStatus: 'Paid', totalAmount: '$250.00', paymentMethod: 'Credit card', description: 'Website design services', }, { invoice: 'INV002', paymentStatus: 'Pending', totalAmount: '$150.00', paymentMethod: 'PayPal', description: 'Monthly subscription fee', }, { invoice: 'INV003', paymentStatus: 'Unpaid', totalAmount: '$350.00', paymentMethod: 'Bank transfer', description: 'Consulting hours', }, { invoice: 'INV004', paymentStatus: 'Paid', totalAmount: '$450.00', paymentMethod: 'Credit card', description: 'Software license renewal', }, { invoice: 'INV005', paymentStatus: 'Paid', totalAmount: '$550.00', paymentMethod: 'PayPal', description: 'Custom development work', }, { invoice: 'INV006', paymentStatus: 'Pending', totalAmount: '$200.00', paymentMethod: 'Bank transfer', description: 'Hosting and maintenance', }, { invoice: 'INV007', paymentStatus: 'Unpaid', totalAmount: '$300.00', paymentMethod: 'Credit card', description: 'Training session package', }, ] export default function TableDemo() { return ( A list of your recent invoices Invoice Status Method Description Amount {invoices.map((invoice) => ( {invoice.invoice} {invoice.paymentStatus} {invoice.paymentMethod} {invoice.description} {invoice.totalAmount} ))} Total $2,250.00
) }