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

react-best-gradient-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-best-gradient-color-picker - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

lib/index.js

@@ -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)

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