| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 6x 1x 163x 1x | import currencyMap from './map/currency-map';
const getCurrencyList = () => {
const currencyArray = Object.keys(currencyMap).map(currencyAbbr => {
return {
abbr: currencyAbbr,
name: currencyMap[currencyAbbr].name,
symbolFormat: currencyMap[currencyAbbr].symbolFormat
};
});
return currencyArray;
};
export default getCurrencyList; |