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

react3dtagcloud

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react3dtagcloud - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

dir.js

3

lib/index.js

@@ -178,2 +178,4 @@ "use strict";

value: function render() {
var _this5 = this;
var containerStyle = {

@@ -196,2 +198,3 @@ width: '100%',

return _react.default.createElement(_tag.default, _extends({
url: _this5.props.url,
key: index

@@ -198,0 +201,0 @@ }, tag), " ");

5

lib/tag.js

@@ -34,4 +34,3 @@ "use strict";

var _baseAngle = Math.PI / 360,
R = 200;
var R = 200;

@@ -73,3 +72,3 @@ var _focalLength = R * 1.5; // 焦距

return _react.default.createElement("a", {
href: "#",
href: this.props.url + '/' + this.props.name,
style: _objectSpread({}, tagStyle, otherStyle)

@@ -76,0 +75,0 @@ }, this.props.name);

{
"name": "react3dtagcloud",
"version": "0.2.0",
"version": "0.2.1",
"description": "基于 react 的 3d 标签云",

@@ -5,0 +5,0 @@ "repository": "crazylxr/3dtagcloudforeact",

@@ -6,3 +6,3 @@

基于 react 的 3d 标签云, [在线 demo](https://crazylxr.github.io/3dtagcloudforeact/)
基于 react 的 3d 标签云, [在线 demo](https://crazylxr.github.io/3d-tag-cloud-for-react/)

@@ -41,4 +41,5 @@ ## Installation

| radius | 球的半径 | number | 200 |
| url | 前缀url | string | ''
## License
MIT
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