react-gauge-component
Advanced tools
Comparing version 1.2.4 to 1.2.5
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; |
{ | ||
"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<string></code>: The colors of the arcs. This overrides <code>subArcs</code> colors. Default: <code>undefined</code></li> | ||
<li><code>emptyColor: <string></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<object></code>: The subArcs of the gauge. |
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
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
116531
2024
461