@uiw/react-color-hue
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -7,5 +7,5 @@ import React from 'react'; | ||
}) => void; | ||
hue: number; | ||
hue?: number; | ||
} | ||
declare const Hue: React.ForwardRefExoticComponent<HueProps & React.RefAttributes<HTMLDivElement>>; | ||
export default Hue; |
@@ -7,5 +7,5 @@ import React from 'react'; | ||
}) => void; | ||
hue: number; | ||
hue?: number; | ||
} | ||
declare const Hue: React.ForwardRefExoticComponent<HueProps & React.RefAttributes<HTMLDivElement>>; | ||
export default Hue; |
{ | ||
"name": "@uiw/react-color-hue", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Color hue", | ||
@@ -38,4 +38,4 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/color-convert": "1.4.1", | ||
"@uiw/react-color-alpha": "1.4.1" | ||
"@uiw/color-convert": "1.4.2", | ||
"@uiw/react-color-alpha": "1.4.2" | ||
}, | ||
@@ -42,0 +42,0 @@ "devDependencies": { |
@@ -37,2 +37,13 @@ React Color Hue | ||
```jsx mdx:preview | ||
import React, { useState } from 'react'; | ||
import Hue from '@uiw/react-color-hue'; | ||
export default function Demo() { | ||
return ( | ||
<Hue hue={undefined} /> | ||
); | ||
} | ||
``` | ||
## Props | ||
@@ -39,0 +50,0 @@ |
Sorry, the diff of this file is not supported yet
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
8226
78
14
+ Added@uiw/color-convert@1.4.2(transitive)
+ Added@uiw/react-color-alpha@1.4.2(transitive)
+ Added@uiw/react-drag-event-interactive@1.4.2(transitive)
- Removed@uiw/color-convert@1.4.1(transitive)
- Removed@uiw/react-color-alpha@1.4.1(transitive)
- Removed@uiw/react-drag-event-interactive@1.4.1(transitive)
Updated@uiw/color-convert@1.4.2
Updated@uiw/react-color-alpha@1.4.2