Skip to content

Commit

Permalink
fix: rename package as messed up first publish
Browse files Browse the repository at this point in the history
  • Loading branch information
adamscybot committed Feb 3, 2024
1 parent 00c9b8f commit d2ece8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ Install using your projects package manager.
**NPM**

```bash
npm install --save react-leaflet-component-marker
npm install --save @adamscybot/react-leaflet-component-marker
```

**Yarn**

```bash
yarn install --save react-leaflet-component-marker
yarn install --save @adamscybot/react-leaflet-component-marker
```

**PNPM**

```bash
pnpm add react-leaflet-component-marker
pnpm add @adamscybot/react-leaflet-component-marker
```

## Usage
Expand All @@ -43,7 +43,7 @@ The `icon` prop can also accept all of the original types of icons that the unde
```javascript
import React from 'react'
import { MapContainer, TileLayer } from 'react-leaflet'
import { Marker } from 'react-leaflet-component-marker'
import { Marker } from '@adamscybot/react-leaflet-component-marker'
import 'leaflet/dist/leaflet.css'

const MarkerIconExample = () => {
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "react-leaflet-component-marker",
"name": "@adamscybot/react-leaflet-component-marker",
"version": "1.0.0",
"description": "A tiny wrapper for react-leaflet's <Marker /> component that allows you to use a React component as a marker, with working state, handlers, and access to parent contexts.",
"author": "adamscybot",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/adamscybot/react-leaflet-component-marker.git"
"url": "git+https://github.com/adamscybot/react-leaflet-component-marker.git"
},
"bugs": {
"url": "https://github.com/adamscybot/react-leaflet-component-marker/issues"
Expand Down Expand Up @@ -64,5 +64,8 @@
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit d2ece8b

Please sign in to comment.