This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Sample Wallet Data | |
const wallet = [ | |
{ value: 30.3, rate: 400.12, type: 'GAU' }, | |
{ value: 1520, rate: 7.82, type: 'USD' }, | |
{ value: 20, rate: 403.2, type: 'GAU' }, | |
{ value: 345, rate: 10.14, type: 'EUR' } | |
]; | |
// Sample Currencies | |
const currentRates = { | |
GAU: 450.44, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"code":"93","name":"Afghanestan","mask":"xx xxx xxx","regex":"/^\\+?([0-9]{2})[-. ]?([0-9]{3})[-. ]?([0-9]{3})[-. ]?$","iconName":"111-afghanistan.svg"},{"code":"355","name":"Shqiperia","mask":"xxx xxx","regex":"/^\\+?([0-9]{3})[-. ]?([0-9]{3})[-. ]?$","iconName":"099-albania.svg"},{"code":"213","name":"Al Jaza'ir ","mask":"xx xxx xxx","regex":"/^\\+?([0-9]{2})[-. ]?([0-9]{3})[-. ]?([0-9]{3})[-. ]?$","iconName":"144-algeria.svg"},{"code":"1684","name":"American Samoa ","mask":"xxx xx xx","regex":"/^\\+?([0-9]{3})[-. ]?([0-9]{2})[-. ]?([0-9]{2})[-. ]?$","iconName":"027-american-samoa.svg"},{"code":"376","name":"Andorra","mask":"xxx xxx","regex":"/^\\+?([0-9]{3})[-. ]?([0-9]{3})[-. ]?$","iconName":"045-andorra.svg"},{"code":"374","name":"Hayastan","mask":"xxx xxx xx","regex":"/^\\+?([0-9]{3})[-. ]?([0-9]{3})[-. ]?([0-9]{2})[-. ]?$","iconName":"108-armenia.svg"},{"code":"297","name":"Aruba","mask":"xxx xxx","regex":"/^\\+?([0-9]{3})[-. ]?([0-9]{3})[-. ]?$","iconName":"042-aruba.svg"},{"code":"61","name":"Austr |