diff --git a/src/app/history/page.tsx b/src/app/history/page.tsx new file mode 100644 index 0000000..f73cb80 --- /dev/null +++ b/src/app/history/page.tsx @@ -0,0 +1,75 @@ +import React from 'react'; + +interface Transaction { + id: string; + date: string; + amount: number; + type: 'deposit' | 'withdrawal' | 'transfer'; + status: 'completed' | 'pending' | 'failed'; +} + +const transactions: Transaction[] = [ + { + id: '1', + date: '2026-03-20', + amount: 1000, + type: 'deposit', + status: 'completed' + }, + { + id: '2', + date: '2026-03-19', + amount: 500, + type: 'withdrawal', + status: 'completed' + }, + { + id: '3', + date: '2026-03-18', + amount: 200, + type: 'transfer', + status: 'pending' + } +]; + +const HistoryPage: React.FC = () => { + return ( +
| ID | +Date | +Amount | +Type | +Status | +
|---|---|---|---|---|
| {transaction.id} | +{transaction.date} | +${transaction.amount.toFixed(2)} | ++ + {transaction.type} + + | ++ + {transaction.status} + + | +