Skip to content

Commit

Permalink
Merge pull request #818 from callstack-internal/feat/add-canadian-pro…
Browse files Browse the repository at this point in the history
…vinces

feat: Add Canadian provinces to CONST
  • Loading branch information
madmax330 authored Oct 28, 2024
2 parents bf6334a + 3aaf444 commit 8f3f0fb
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions lib/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,62 @@ const CONST = {
},
},

/** Canadian provinces */
PROVINCES: {
AB: {
provinceISO: 'AB',
provinceName: 'Alberta',
},
BC: {
provinceISO: 'BC',
provinceName: 'British Columbia',
},
MB: {
provinceISO: 'MB',
provinceName: 'Manitoba',
},
NB: {
provinceISO: 'NB',
provinceName: 'New Brunswick',
},
NL: {
provinceISO: 'NL',
provinceName: 'Newfoundland and Labrador',
},
NS: {
provinceISO: 'NS',
provinceName: 'Nova Scotia',
},
NT: {
provinceISO: 'NT',
provinceName: 'Northwest Territories',
},
NU: {
provinceISO: 'NU',
provinceName: 'Nunavut',
},
ON: {
provinceISO: 'ON',
provinceName: 'Ontario',
},
PE: {
provinceISO: 'PE',
provinceName: 'Prince Edward Island',
},
QC: {
provinceISO: 'QC',
provinceName: 'Quebec',
},
SK: {
provinceISO: 'SK',
provinceName: 'Saskatchewan',
},
YT: {
provinceISO: 'YT',
provinceName: 'Yukon',
},
},

/**
* Special characters that need to be removed when they are ending an url
*
Expand Down

0 comments on commit 8f3f0fb

Please sign in to comment.