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
2
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 1.3.2 to 1.3.3

6

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

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

"dependencies": {
"@uiw/color-convert": "1.3.2",
"@uiw/react-color-alpha": "1.3.2"
"@uiw/color-convert": "1.3.3",
"@uiw/react-color-alpha": "1.3.3"
},

@@ -42,0 +42,0 @@ "devDependencies": {

@@ -8,3 +8,5 @@ React Color Hue

<!--rehype:ignore:start-->
[![react-color-hue](https://user-images.githubusercontent.com/1680273/125951739-e38dad1a-5d11-4e4b-a146-3365bd0d98fb.png)](https://uiwjs.github.io/react-color/#/hue)
<!--rehype:ignore:end-->

@@ -19,6 +21,7 @@ ## Install

```js
```jsx mdx:preview
import React, { useState } from 'react';
import Hue from '@uiw/react-color-hue';
function Demo() {
export default function Demo() {
const [hsva, setHsva] = useState({ h: 0, s: 0, v: 68, a: 1 });

@@ -42,5 +45,9 @@ return (

export interface HueProps extends Omit<AlphaProps, 'hsva' | 'onChange'> {
onChange?: (newHue: { h: number; }) => void;
onChange?: (newHue: {
h: number;
}) => void;
hue: number;
}
declare const Hue: React.ForwardRefExoticComponent<HueProps & React.RefAttributes<HTMLDivElement>>;
export default Hue;
```

@@ -47,0 +54,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