Skip to content

Commit

Permalink
Supporting react leaflet v4 and react 18 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviklai authored Jun 17, 2022
1 parent 02a9a57 commit 594409f
Show file tree
Hide file tree
Showing 4 changed files with 4,880 additions and 3,594 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
[![Coverage Status](https://coveralls.io/repos/github/aviklai/react-leaflet-kml/badge.svg?branch=master)](https://coveralls.io/github/aviklai/react-leaflet-kml?branch=master)
[![npm version](https://img.shields.io/npm/v/react-leaflet-kml.svg)](https://www.npmjs.com/package/react-leaflet-kml)

React leaflet v3 wrapper of leaflet-kml.
React leaflet v3 and v4 wrapper of leaflet-kml.

## Requirements
The current version of this library supports React Leaflet v3. <br/>
The current version of this library supports React Leaflet v3 and v4. <br/>
If you are using React Leaflet v2, please use the previous version of this library. Please see the documentation here: <br/>
https://github.com/aviklai/react-leaflet-kml/tree/v1

Expand Down
11 changes: 10 additions & 1 deletion jestconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,14 @@
"moduleDirectories": [
"node_modules",
"main/node_modules"
]
],
"testEnvironment": "jsdom",
"transformIgnorePatterns": ["/node_modules/(?!(@react-leaflet/core|react-leaflet))"],
"globals": {
"ts-jest": {
"tsconfig": {
"allowJs": true
}
}
}
}
Loading

0 comments on commit 594409f

Please sign in to comment.