react3dtagcloud
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -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), " "); |
@@ -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 |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
139439
10
748
44
2