react-best-gradient-color-picker
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -15,3 +15,3 @@ import React, { useRef, useState, useEffect } from "react"; | ||
const contRef = useRef(null); | ||
const width = useWindowWidth(); | ||
const width = useWindowSizes(); | ||
const [isGradient, setIsGradient] = useState(value?.includes('gradient')); | ||
@@ -18,0 +18,0 @@ const colors = getColors(value, isGradient); |
{ | ||
"name": "react-best-gradient-color-picker", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "An easy to use color/gradient picker for React.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -11,3 +11,3 @@ import React, { useRef, useState, useEffect } from "react" | ||
const contRef = useRef(null) | ||
const width = useWindowWidth() | ||
const width = useWindowSizes() | ||
const [isGradient, setIsGradient] = useState(value?.includes('gradient')) | ||
@@ -14,0 +14,0 @@ const colors = getColors(value, isGradient) |
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