const payments = [ { id: 1, date: new Date(), description: "", amount: "340 USD", href: "", }, { id: 1, date: new Date(), description: "", amount: "340 USD", href: "", }, { id: 1, date: new Date(), description: "", amount: "340 USD", href: "", }, ]; export default function BillingHistory() { return (

Billing history

{/* `relative` is added here due to a weird bug in Safari that causes `sr-only` headings to introduce overflow on the body on mobile. */} {payments.map((payment) => ( ))}
Date Description Amount View receipt
{payment.description} {payment.amount} View receipt
); }