mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-18 21:16:31 +00:00
36 lines
540 B
TypeScript
36 lines
540 B
TypeScript
|
export type Codes = "USD" | "EUR" | "GBP" | "JPY";
|
||
|
|
||
|
export type Currency = {
|
||
|
code: Codes;
|
||
|
local: string;
|
||
|
symbol: string;
|
||
|
name: string;
|
||
|
};
|
||
|
|
||
|
export const currencies: Currency[] = [
|
||
|
{
|
||
|
code: "USD",
|
||
|
local: "en-US",
|
||
|
symbol: "$",
|
||
|
name: "US Dollar",
|
||
|
},
|
||
|
{
|
||
|
code: "EUR",
|
||
|
local: "de-DE",
|
||
|
symbol: "€",
|
||
|
name: "Euro",
|
||
|
},
|
||
|
{
|
||
|
code: "GBP",
|
||
|
local: "en-GB",
|
||
|
symbol: "£",
|
||
|
name: "British Pound",
|
||
|
},
|
||
|
{
|
||
|
code: "JPY",
|
||
|
local: "ja-JP",
|
||
|
symbol: "¥",
|
||
|
name: "Japanese Yen",
|
||
|
},
|
||
|
];
|