react-svg-worldmap
Advanced tools
Comparing version 1.0.37 to 1.0.38
@@ -67,2 +67,7 @@ # CHANGELOG | ||
* Onclick callback as requested, for instructions on usage see README.md, for an example look at the example folder under onclick-example. | ||
* Onclick callback as requested, for instructions on usage see README.md, for an example look at the example folder under onclick-example. | ||
## 1.0.38 | ||
* Contribution thanks to [GoncaloGarcia]: https://github.com/GoncaloGarcia | ||
* Allow setting background color and strokeOpacity as props |
@@ -19,2 +19,4 @@ import React from "react"; | ||
color?: string; | ||
strokeOpacity?: number; | ||
backgroundColor?: string; | ||
tooltipBgColor?: string; | ||
@@ -21,0 +23,0 @@ tooltipTextColor?: string; |
{ | ||
"name": "react-svg-worldmap", | ||
"version": "1.0.37", | ||
"version": "1.0.38", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "displayName": "React Worldmap", |
@@ -140,2 +140,4 @@ # react-svg-worldmap [![License: MIT](https://img.shields.io/badge/license-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://img.shields.io/npm/v/react-svg-worldmap.svg?style=flat)](https://www.npmjs.com/package/react-svg-worldmap) [![Demo: Simple Example](https://img.shields.io/badge/demo-live-red.svg)](https://react-svg-worldmap-simple-example.imfast.io) | ||
| valueSuffix | string | A string to suffix values in tooltips. E.g. "USD" | | ||
| backgroundColor | string | Component background color | | ||
| strokeOpacity| string | The stroke opacity of non selected countries | | ||
| frame | boolean | true/false for drawing a frame around the map | | ||
@@ -142,0 +144,0 @@ | frameColor | string | Frame color | |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
185983
42
182