Skip to content

Commit 5a4a8b4

Browse files
committed
docs: Typos
1 parent 73a6845 commit 5a4a8b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ pnpm add @adamscybot/react-leaflet-component-marker
4747

4848
## Simple Usage
4949

50-
Instead of importing `Marker` from `react-leaflet`, instead import `Marker` from `@adamscybot/react-leaflet-component-marker`.
50+
Instead of importing `Marker` from `react-leaflet`, import `Marker` from `@adamscybot/react-leaflet-component-marker`.
5151

52-
The `icon` prop is extended to allow for a JSX element of your choosing. All other props are identical to the `react-leaflet` [Marker](https://react-leaflet.js.org/docs/api-components/#marker) API.
52+
The `icon` prop is extended to allow for a JSX element of your choosing. All other props are identical to the `react-leaflet` [Marker](https://react-leaflet.js.org/docs/api-components/#marker) API, but there is an additional prop called `componentIconOpts` for [Advanced Usage](#advanced-usage).
5353

5454
The `icon` prop can also accept all of the original types of icons that the underlying `react-leaflet` Marker accepts. Though there is no gain in using this library for this case, it may help if you want to just use this library in place of Marker universally.
5555

0 commit comments

Comments
 (0)