export interface CurrencyOption { code: string; symbol: string; name: string; } export const currencyOptions: CurrencyOption[] = [ { code: 'USD', symbol: '$', name: 'US Dollar' }, { code: 'EUR', symbol: '€', name: 'Euro' }, { code: 'GBP', symbol: '£', name: 'British Pound' }, { code: 'CAD', symbol: 'C$', name: 'Canadian Dollar' }, { code: 'AUD', symbol: 'A$', name: 'Australian Dollar' }, { code: 'CHF', symbol: 'CHF', name: 'Swiss Franc' }, { code: 'JPY', symbol: '¥', name: 'Japanese Yen' }, { code: 'SEK', symbol: 'kr', name: 'Swedish Krona' }, { code: 'NOK', symbol: 'kr', name: 'Norwegian Krone' }, { code: 'DKK', symbol: 'kr', name: 'Danish Krone' }, ]; export function getCurrencySymbol(currencyCode: string): string { const currency = currencyOptions.find(c => c.code === currencyCode); return currency?.symbol || currencyCode; }