Has anyone been able to use the React Leaflet Search v2.0.1 npm package library with React v18? I’ve tried running…npm install react-leaflet-search --legacy-peer-deps as listed on stack overflow (https://stackoverflow.com/questions/69324734/problem-when-i-install-react-leaflet-search
) as a solution, but I keep getting the same error that the react 18 dependency doesn’t work with react-leaflet-search because the peer dependency for react-search is react": "^16.12.0". My goal is to be able to allow users to enter latlng into a search input field on the map and have the user taken to those coordinates within the map.
Thanks for any help offered!!