Socket
Socket
Sign inDemoInstall

word-cloud-react

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

5

dist/WordCloud/WordCloudComponent.js

@@ -41,3 +41,6 @@ import _classCallCheck from "/Users/sazzadsazib/Desktop/Work/Front-end/PackageBuild/word-cloud-react/node_modules/@babel/runtime/helpers/esm/classCallCheck";

}, React.createElement("div", {
"data-tip": "Value: " + item.value
"data-tip": "Value: " + item.value,
onClick: function onClick() {
return _this.props.clickEvent ? _this.props.clickEvent(item) : '';
}
}, " ", item.word, " "), React.createElement(ReactTooltip, {

@@ -44,0 +47,0 @@ place: "top",

2

package.json
{
"name": "word-cloud-react",
"version": "0.1.2",
"version": "0.1.3",
"dependencies": {},

@@ -5,0 +5,0 @@ "scripts": {

@@ -23,7 +23,7 @@ # Word Cloud React · [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/sazzadsazib/cohort-react-graph/blob/master/LICENSE)

###Props:
### Props:
``width: auto | number , PropType: String | Integer``<br/><br/>
``data: [{"value": 100, "word": "hi},{"value": 150, "word": "hello}] , PropType: Array``<br/><br/>
``color: ['#71803F', '#F8AC1D'] , PropType: Array``<br/><br/>
``clickEvent={(x)=>console.log(x.word)}``

@@ -30,0 +30,0 @@ ### Color Schemes:

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc