zcreativelabs / react-simple-maps

Beautiful React SVG maps with d3-geo and topojson using a declarative api.
https://www.react-simple-maps.io/
MIT License
3.12k stars 426 forks source link

Added support for React 18.x #285

Closed zeromero-dev closed 2 years ago

zeromero-dev commented 2 years ago

Added lines in package.json as peerDepencies to support React v18.

"peerDependencies": {
    "react": "^16.8.0 || 17.x || 18.x",
    "react-dom": "^16.8.0 || 17.x || 18.x",
    "prop-types": "^15.7.2"
  },