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

@uiw/react-color-hue

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-color-hue - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

9

package.json
{
"name": "@uiw/react-color-hue",
"version": "0.0.1",
"version": "0.0.2",
"description": "Color hue",

@@ -27,4 +27,4 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"@babel/runtime": "7.14.6",
"@uiw/color-convert": "0.0.1",
"@uiw/react-color-alpha": "0.0.1"
"@uiw/color-convert": "^0.0.2",
"@uiw/react-color-alpha": "^0.0.2"
},

@@ -38,3 +38,4 @@ "devDependencies": {

"react-test-renderer": "17.0.2"
}
},
"gitHead": "9505befd9da79920b371501b8cf2a320f3ab70c7"
}

@@ -16,4 +16,10 @@ Color Hue

function Demo() {
const [hsva, setHsva] = useState({ h: 0, s: 0, v: 68, a: 1 });
return (
<Hue hue={222} />
<Hue
hue={hsva.h}
onChange={(newHue) => {
setHsva({ ...hsva, ...newHue });
}}
/>
);

@@ -20,0 +26,0 @@ }

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