Socket
Socket
Sign inDemoInstall

@uiw/react-color-swatch

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.2 to 1.3.3

4

package.json
{
"name": "@uiw/react-color-swatch",
"version": "1.3.2",
"version": "1.3.3",
"description": "Color swatch component for React.",

@@ -38,3 +38,3 @@ "homepage": "https://uiwjs.github.io/react-color/#/swatch",

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

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

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

<!--rehype:ignore:start-->
[![react-color-swatch](https://user-images.githubusercontent.com/1680273/125950289-f965e6c2-c21f-4b5c-a05c-a27aa07e738f.png)](https://uiwjs.github.io/react-color/#/swatch)
<!--rehype:ignore:end-->

@@ -19,3 +21,4 @@ ## Install

```js
```tsx mdx:preview
import React, { useState } from 'react';
import { hsvaToHex, getContrastingColor, } from '@uiw/color-convert';

@@ -58,2 +61,4 @@ import Swatch from '@uiw/react-color-swatch';

}
export default Demo;
```

@@ -60,0 +65,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc