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

react-gauge-component

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gauge-component - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

1

dist/lib/GaugeComponent/index.d.ts
import React from "react";
import { GaugeComponentProps } from "./types/GaugeComponentProps";
declare const GaugeComponent: (props: Partial<GaugeComponentProps>) => React.JSX.Element;
export { GaugeComponent };
export default GaugeComponent;

@@ -37,2 +37,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.GaugeComponent = void 0;
var react_1 = __importStar(require("react"));

@@ -138,2 +139,3 @@ var d3_1 = require("d3");

};
exports.GaugeComponent = GaugeComponent;
exports.default = GaugeComponent;
import GaugeComponent from './GaugeComponent';
export { GaugeComponent };
export default GaugeComponent;

@@ -6,3 +6,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.GaugeComponent = void 0;
// src/lib/GaugeComponent/index.tsx
var GaugeComponent_1 = __importDefault(require("./GaugeComponent"));
exports.GaugeComponent = GaugeComponent_1.default;
exports.default = GaugeComponent_1.default;

2

package.json
{
"name": "react-gauge-component",
"version": "1.2.4",
"version": "1.2.5",
"main": "dist/lib/index.js",

@@ -5,0 +5,0 @@ "module": "dist/lib/index.js",

@@ -32,3 +32,5 @@ # react-gauge-component

```jsx
import GaugeComponent from 'react-gauge-component'
import GaugeComponent from 'react-gauge-component';
//or
import { GaugeComponent } from 'react-gauge-component';

@@ -366,3 +368,3 @@ //Component with default values

<li><code>colorArray: Array&lt;string&gt;</code>: The colors of the arcs. This overrides <code>subArcs</code> colors. Default: <code>undefined</code></li>
<li><code>emptyColor: &lt;string&gt;</code>: The default color of the grafana's "empty" subArc color. Default: <code>"#5C5C5C"</code></li>
<li><code>emptyColor: string</code>: The default color of the grafana's "empty" subArc color. Default: <code>"#5C5C5C"</code></li>
<li><code>gradient: boolean</code>: This will draw a single arc with all colors provided in subArcs, using limits as references to draw the linear-gradient result. (limits may not be accurate in this mode) Default: <code>false</code>.</li>

@@ -369,0 +371,0 @@ <li><code>subArcs: Array&lt;object&gt;</code>: The subArcs of the gauge.

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