Skip to content

Commit

Permalink
Fix exports and correct README.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinP460 committed Nov 20, 2022
1 parent 2d35f2a commit 8b8eb36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const App = () => {
}
```
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.
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.
The tooltip is shown by default, but you can disable the tooltip by toggling `showTooltip`:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-denmark-map",
"version": "1.2.0",
"version": "1.2.1",
"description": "Customizable plug-and-play map of Denmark for visual presentation.",
"scripts": {
"test": "jest --watchAll",
Expand Down
5 changes: 3 additions & 2 deletions src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export { default as Denmark, DenmarkType } from './areas/denmark'
export { default as Islands, IslandType } from './areas/islands'
export { default as Municipalities, MunicipalityType } from './areas/municipalities'
export { default as Constituencies, ConstituencyType } from './areas/constituencies'
export { default as Regions, RegionType } from './areas/regions'
export { default as Islands, IslandType } from './areas/islands'
export { default as Denmark, DenmarkType } from './areas/denmark'

0 comments on commit 8b8eb36

Please sign in to comment.