feat: add brazilian real currency (#5989)

Added support to Brazilian Real currency code, added the new code on
`CurrencyCode.ts` and on `SETTINGS_FIELD_CURRENCY_CODES`
This commit is contained in:
Vitor Hugo Rodrigues
2024-06-22 03:38:52 -03:00
committed by GitHub
parent d126b148a1
commit 91b0c2bb8e
3 changed files with 7 additions and 0 deletions

View File

@ -15,4 +15,5 @@ export enum CurrencyCode {
QAR = 'QAR', QAR = 'QAR',
AED = 'AED', AED = 'AED',
KRW = 'KRW', KRW = 'KRW',
BRL = 'BRL',
} }

View File

@ -8,6 +8,7 @@ import {
IconCurrencyKroneCzech, IconCurrencyKroneCzech,
IconCurrencyKroneSwedish, IconCurrencyKroneSwedish,
IconCurrencyPound, IconCurrencyPound,
IconCurrencyReal,
IconCurrencyRiyal, IconCurrencyRiyal,
IconCurrencyWon, IconCurrencyWon,
IconCurrencyYen, IconCurrencyYen,
@ -84,4 +85,8 @@ export const SETTINGS_FIELD_CURRENCY_CODES: Record<
label: 'South Korean won', label: 'South Korean won',
Icon: IconCurrencyWon, Icon: IconCurrencyWon,
}, },
BRL: {
label: 'Brazilian real',
Icon: IconCurrencyReal,
}
}; };

View File

@ -60,6 +60,7 @@ export {
IconCurrencyKroneCzech, IconCurrencyKroneCzech,
IconCurrencyKroneSwedish, IconCurrencyKroneSwedish,
IconCurrencyPound, IconCurrencyPound,
IconCurrencyReal,
IconCurrencyRiyal, IconCurrencyRiyal,
IconCurrencyWon, IconCurrencyWon,
IconCurrencyYen, IconCurrencyYen,