Added: The support for CZK Currency (#5561)

Added the Czech Koruna currency support.
- Added the CZK to the currency code.
- Set the desired CZK icon to `TablerIcons` to use it within the
`twenty-ui`

fixes: #5530 

![Screenshot
(335)](https://github.com/twentyhq/twenty/assets/140178357/a19a60b8-2261-44b3-9ed2-5c35424631a1)
![Screenshot
(336)](https://github.com/twentyhq/twenty/assets/140178357/20944e43-901c-4dda-b986-a47763fb5f9b)
This commit is contained in:
Shashank Vishwakarma 2024-05-24 21:41:08 +05:30 committed by GitHub
parent c7d61e183a
commit 3de5ed3427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@ export enum CurrencyCode {
CAD = 'CAD',
CHF = 'CHF',
CNY = 'CNY',
CZK = 'CZK',
EUR = 'EUR',
GBP = 'GBP',
HKD = 'HKD',

View File

@ -5,6 +5,7 @@ import {
IconCurrencyEuro,
IconCurrencyFrank,
IconCurrencyKroneSwedish,
IconCurrencyKroneCzech,
IconCurrencyPound,
IconCurrencyRiyal,
IconCurrencyYen,
@ -45,6 +46,10 @@ export const SETTINGS_FIELD_CURRENCY_CODES: Record<
label: 'Chinese yuan',
Icon: IconCurrencyYuan,
},
CZK: {
label: 'Czech koruna',
Icon: IconCurrencyKroneCzech,
},
HKD: {
label: 'Hong Kong dollar',
Icon: IconCurrencyDollar,

View File

@ -57,6 +57,7 @@ export {
IconCurrencyEuro,
IconCurrencyFrank,
IconCurrencyKroneSwedish,
IconCurrencyKroneCzech,
IconCurrencyPound,
IconCurrencyRiyal,
IconCurrencyYen,