Skip to content

Commit

Permalink
Update peer dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinP460 committed Oct 10, 2022
1 parent 5944ff2 commit 3ce5483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#### ⚠️ Work in progress

# react-denmark-map

Customizable map of Denmark with support for municipalities, regions, islands, and a full map with no borders or subsequent areas.
Expand Down Expand Up @@ -301,7 +299,7 @@ type AreaType = {
name: string // the name of the area with Danish letters (e.g. 'fanø')
en_name: string // same as 'id'
display_name: string // the local name of the area capitalized (e.g. 'Høje Taastrup')
d: string // the path of the area applied to the
d: string // the path of the area applied to the <path> element
code: string // the municipality or region code (e.g. 482 or 1083)
en_term: string // the term used to describe the area in English (i.e. jyllland = jutland)
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"typescript": "^4.8.2"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "17.x || 18.x",
"react-dom": "17.x || 18.x"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit 3ce5483

Please sign in to comment.