From c778e11e788557b0cbd33f5c2a7662ab77b4d07d Mon Sep 17 00:00:00 2001 From: Dustin Do Date: Mon, 23 Sep 2024 12:53:02 +0700 Subject: [PATCH] feat(currency): add EURO support --- packages/currency/src/index.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/currency/src/index.ts b/packages/currency/src/index.ts index e8751a16..c37a43f5 100644 --- a/packages/currency/src/index.ts +++ b/packages/currency/src/index.ts @@ -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),