feat: add currencies (NOK, SEK, DKK) (#128)

This commit is contained in:
Hayden 2022-11-01 15:10:48 -08:00 committed by GitHub
parent 592d4eda55
commit b6b2a2d889
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 4 deletions

View file

@ -1,4 +1,4 @@
export type Codes = "USD" | "EUR" | "GBP" | "JPY" | "ZAR" | "AUD";
export type Codes = "USD" | "EUR" | "GBP" | "JPY" | "ZAR" | "AUD" | "NOK" | "SEK" | "DKK";
export type Currency = {
code: Codes;
@ -44,4 +44,22 @@ export const currencies: Currency[] = [
symbol: "$",
name: "Australian Dollar",
},
{
code: "NOK",
local: "nb-NO",
symbol: "kr",
name: "Norwegian Krone",
},
{
code: "SEK",
local: "sv-SE",
symbol: "kr",
name: "Swedish Krona",
},
{
code: "DKK",
local: "da-DK",
symbol: "kr",
name: "Danish Krone",
},
];