mirror of
https://github.com/lingble/twenty.git
synced 2025-11-06 15:47:56 +00:00
Add new Currencies with Corresponding Icons (#5353)
### **Description** Add 3 new currencies ### **Refs** https://github.com/twentyhq/twenty/issues/5351 ### **Demo** <img width="678" alt="Screenshot 2024-05-11 at 1 30 55 AM" src="https://github.com/twentyhq/twenty/assets/62111075/cc88ba46-cc5a-41d6-baf8-c28851c629ae">
This commit is contained in:
@@ -7,4 +7,7 @@ export enum CurrencyCode {
|
||||
HKD = 'HKD',
|
||||
JPY = 'JPY',
|
||||
USD = 'USD',
|
||||
MAD = 'MAD',
|
||||
QAR = 'QAR',
|
||||
AED = 'AED',
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import {
|
||||
IconComponent,
|
||||
IconCurrencyDirham,
|
||||
IconCurrencyDollar,
|
||||
IconCurrencyEuro,
|
||||
IconCurrencyFrank,
|
||||
IconCurrencyPound,
|
||||
IconCurrencyRiyal,
|
||||
IconCurrencyYen,
|
||||
IconCurrencyYuan,
|
||||
} from 'twenty-ui';
|
||||
@@ -46,4 +48,16 @@ export const SETTINGS_FIELD_CURRENCY_CODES: Record<
|
||||
label: 'Hong Kong dollar',
|
||||
Icon: IconCurrencyDollar,
|
||||
},
|
||||
MAD: {
|
||||
label: 'Moroccan dirham',
|
||||
Icon: IconCurrencyDirham,
|
||||
},
|
||||
QAR: {
|
||||
label: 'Qatari riyal',
|
||||
Icon: IconCurrencyRiyal,
|
||||
},
|
||||
AED: {
|
||||
label: 'UAE dirham',
|
||||
Icon: IconCurrencyDirham,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -50,10 +50,12 @@ export {
|
||||
IconMessageCircle as IconComment,
|
||||
IconCopy,
|
||||
IconCreditCard,
|
||||
IconCurrencyDirham,
|
||||
IconCurrencyDollar,
|
||||
IconCurrencyEuro,
|
||||
IconCurrencyFrank,
|
||||
IconCurrencyPound,
|
||||
IconCurrencyRiyal,
|
||||
IconCurrencyYen,
|
||||
IconCurrencyYuan,
|
||||
IconDatabase,
|
||||
|
||||
Reference in New Issue
Block a user