react-globe.gl 2.20.2 → 2.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/dist/react-globe.gl.js +1 -1
- package/dist/react-globe.gl.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ react-globe.gl
|
|
|
3
3
|
|
|
4
4
|
[![NPM package][npm-img]][npm-url]
|
|
5
5
|
[![Build Size][build-size-img]][build-size-url]
|
|
6
|
-
[![
|
|
6
|
+
[![NPM Downloads][npm-downloads-img]][npm-downloads-url]
|
|
7
7
|
|
|
8
8
|
React bindings for the [globe.gl](https://github.com/vasturiano/globe.gl) UI component.
|
|
9
9
|
|
|
@@ -46,19 +46,19 @@ Check out the examples:
|
|
|
46
46
|
|
|
47
47
|
## Quick start
|
|
48
48
|
|
|
49
|
-
```
|
|
49
|
+
```js
|
|
50
50
|
import Globe from 'react-globe.gl';
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
or using a script tag
|
|
54
54
|
|
|
55
|
-
```
|
|
55
|
+
```html
|
|
56
56
|
<script src="//unpkg.com/react-globe.gl"></script>
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
then
|
|
60
60
|
|
|
61
|
-
```
|
|
61
|
+
```jsx
|
|
62
62
|
ReactDOM.render(
|
|
63
63
|
<Globe
|
|
64
64
|
pointsData={myData}
|
|
@@ -360,9 +360,9 @@ ReactDOM.render(
|
|
|
360
360
|
|
|
361
361
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=L398E7PKP47E8¤cy_code=USD&source=url) If this project has helped you and you'd like to contribute back, you can always [buy me a ☕](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=L398E7PKP47E8¤cy_code=USD&source=url)!
|
|
362
362
|
|
|
363
|
-
[npm-img]: https://img.shields.io/npm/v/react-globe.gl
|
|
363
|
+
[npm-img]: https://img.shields.io/npm/v/react-globe.gl
|
|
364
364
|
[npm-url]: https://npmjs.org/package/react-globe.gl
|
|
365
|
-
[build-size-img]: https://img.shields.io/bundlephobia/minzip/react-globe.gl
|
|
365
|
+
[build-size-img]: https://img.shields.io/bundlephobia/minzip/react-globe.gl
|
|
366
366
|
[build-size-url]: https://bundlephobia.com/result?p=react-globe.gl
|
|
367
|
-
[
|
|
368
|
-
[
|
|
367
|
+
[npm-downloads-img]: https://img.shields.io/npm/dt/react-globe.gl
|
|
368
|
+
[npm-downloads-url]: https://www.npmtrends.com/react-globe.gl
|
package/dist/react-globe.gl.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Version 2.20.
|
|
1
|
+
// Version 2.20.3 react-globe.gl - https://github.com/vasturiano/react-globe.gl
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['react'], factory) :
|