react-gauge-component
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -12,3 +12,3 @@ "use strict"; | ||
fill: '#fff', | ||
textShadow: "black 1px 1px 0px, black 0px 0px 0.5em, black 0px 0px 0.2em" | ||
textShadow: "black 1px 0.5px 0px, black 0px 0px 0.03em, black 0px 0px 0.01em" | ||
}, | ||
@@ -15,0 +15,0 @@ hide: false |
@@ -9,3 +9,3 @@ "use strict"; | ||
fill: "#dedbd7", | ||
textShadow: "black 1px 1px 0px, black 0px 0px 0.5em, black 0px 0px 0.2em" | ||
textShadow: "black 1px 0.5px 0px, black 0px 0px 0.03em, black 0px 0px 0.01em" | ||
}, | ||
@@ -20,3 +20,3 @@ hide: false | ||
fill: "#dedbd7", | ||
textShadow: "black 1px 1px 0px, black 0px 0px 0.5em, black 0px 0px 0.2em" | ||
textShadow: "black 1px 0.5px 0px, black 0px 0px 0.03em, black 0px 0px 0.01em" | ||
}, | ||
@@ -23,0 +23,0 @@ hide: false, |
{ | ||
"name": "react-gauge-component", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"main": "dist/lib/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/lib/index.js", |
@@ -35,5 +35,14 @@ # react-gauge-component | ||
//Component with default values | ||
<GaugeComponent id="gauge-component1" /> | ||
<GaugeComponent /> | ||
``` | ||
For next.js you'll have to do dynamic import: | ||
```jsx | ||
import dynamic from "next/dynamic"; | ||
const GaugeComponent = dynamic(() => import('react-gauge-component'), { ssr: false }); | ||
//Component with default values | ||
<GaugeComponent /> | ||
``` | ||
## Examples | ||
@@ -40,0 +49,0 @@ ### Simple 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
104875
454
0