Skip to content

Commit d3956e5

Browse files
authored
Merge pull request #2 from TurtIeSocks/add-styling-to-lib
fix: add styling to published lib
2 parents 4ef963f + 217eba0 commit d3956e5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Basic React Leaflet wrapper for the fantastic [Supercluster](https://github.com/
2929
This package primarily exports a React component that can be used anywhere as a child of a `MapContainer` component. It also provides a "low level" hook that just returns a Supercluster instance. See the [Example](/example) code for a more detailed usage example.
3030

3131
```tsx
32-
import 'react-leaflet-supercluster/dist/styles.css'
32+
import 'react-leaflet-supercluster/src/styles.css'
3333
import { MapContainer, Circle, CircleMarker, Marker Polygon, Polyline } from 'react-leaflet'
3434
import { SuperClustering } from 'react-leaflet-supercluster'
3535

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "react-leaflet-supercluster",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "React wrapper for the supercluster library",
55
"repository": "https://github.com/TurtIeSocks/react-leaflet-supercluster",
66
"author": "TurtIeSocks <58572875+TurtIeSocks@users.noreply.github.com>",
77
"license": "Apache-2.0",
88
"private": false,
99
"files": [
10-
"dist"
10+
"dist",
11+
"src/styles.css"
1112
],
1213
"keywords": [
1314
"react",

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,5 @@
1919
],
2020
"include": [
2121
"src",
22-
"test"
2322
]
2423
}

0 commit comments

Comments
 (0)