Skip to content

Commit

Permalink
feat(currency): add EURO support
Browse files Browse the repository at this point in the history
  • Loading branch information
duongdev committed Sep 23, 2024
1 parent ece9fa2 commit f87204a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/currency/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@ import listCurrencies from './currencies.json'

export * from './formatter'

export const SUPPORTED_CURRENCIES = ['USD', 'JPY', 'AUD', 'VND', 'SGD', 'CNY']
export const SUPPORTED_CURRENCIES = [
'EUR',
'USD',
'JPY',
'AUD',
'VND',
'SGD',
'CNY',
]

export const currencies = listCurrencies.filter((currency) =>
SUPPORTED_CURRENCIES.includes(currency.code),
Expand Down

0 comments on commit f87204a

Please sign in to comment.