A tiny wrapper for react-leaflets Marker component that allows you to use a React component as a marker, with working state, handlers, and access to parent contexts.
We are trying to use the `@adamscybot/react-leaflet-component-marker` library to implement a custom icon component, but we can't seem to make it work as we are getting the following error: **Error Details:** ``` ERROR in ./src/views/map/device/index.js 247:43-49 export 'Marker' (imported as 'Marker') was not found in '@adamscybot/react-leaflet-component-marker' (module has no exports) ERROR in ./node_modules/@adamscybot/react-leaflet-component-marker/dist/index.js 1:0-34 Module not found: Error: Can't resolve './Marker' in '/Users/upcare/Code/rest-service/client/node_modules/@adamscybot/react-leaflet-component-marker/dist' Did you mean 'Marker.js'? BREAKING CHANGE: The request './Marker' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"'). The extension in the request is mandatory for it to be fully specified. Add the extension to the request. ``` We would appreciate any guidance on how to resolve this issue and successfully implement the custom icon component.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by johnjairus10 and has received 3 comments.