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.
Not a bug perse, but after the following updates: - `react`: `^18.3.1` > `19.0.0` - `react-dom`: `^18.3.1` > `19.0.0` - `react-leaflet` : `^4.2.1` > `^5.0.0` - `@adamscybot/react-leaflet-component-marker`: `^2.0.2` > `^2.0.1` When I pass an fragment to the `icon` of `Marker` I'm getting the following error during run time: ``` Invalid prop `node` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props. 37 ``` For example: ``` jsx <Marker icon={ <> <Image src="/rc-marker-shadow-2x.png" width="45" height="33" alt="" aria-hidden className="pointer-events-none absolute -left-[3px] top-px" /> <MarkerIcon className={classes( "pointer-events-none relative", active || isHovered ? "text-orange" : "text-blue", )} title={label} /> </> } position={position} > </Marker> ``` When I replace the fragment with a div there is no issue.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by peteruithoven and has received 1 comments.