Skip to content

Commit 8b8eb36

Browse files
author
MartinP460
committed
Fix exports and correct README.
1 parent 2d35f2a commit 8b8eb36

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const App = () => {
116116
}
117117
```
118118
119-
The first parameter / the area parameter of the `customTooltip` function (here named `municipality`) contains several fields that can be used to identify the correct area. See "API" for full reference. Also, keep in mind that the tooltip won't move to the other side of the cursor when it goes beyond the length of the viewpor.
119+
The first parameter / the area parameter of the `customTooltip` function (here named `municipality`) contains several fields that can be used to identify the correct area. See "API" for full reference.
120120
121121
The tooltip is shown by default, but you can disable the tooltip by toggling `showTooltip`:
122122

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-denmark-map",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Customizable plug-and-play map of Denmark for visual presentation.",
55
"scripts": {
66
"test": "jest --watchAll",

src/components/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
export { default as Denmark, DenmarkType } from './areas/denmark'
2-
export { default as Islands, IslandType } from './areas/islands'
31
export { default as Municipalities, MunicipalityType } from './areas/municipalities'
2+
export { default as Constituencies, ConstituencyType } from './areas/constituencies'
43
export { default as Regions, RegionType } from './areas/regions'
4+
export { default as Islands, IslandType } from './areas/islands'
5+
export { default as Denmark, DenmarkType } from './areas/denmark'

0 commit comments

Comments
 (0)