Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-svg-worldmap

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-svg-worldmap - npm Package Compare versions

Comparing version 1.0.37 to 1.0.38

7

CHANGELOG.md

@@ -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;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc