import Image from 'next/image'; import { UpdateInvoice, DeleteInvoice } from '@/app/ui/guests/buttons'; import gueststatus from '@/app/ui/guests/status'; import { formatDateToLocal, formatCurrency } from '@/app/lib/utils'; import { Guest } from '@/app/lib/definitions'; export default async function guestsTable() { const guests: Guest[] = [ { id: '1', name: 'John Doe', email: 'foo@bar.com' }, { id: '2', name: 'Jane Doe', email: 'jane@bar.com', }, ]; return (
Name | Status | |
---|---|---|
{guest.name} | {guest.email} | Confirmed |