@uiw/react-color-hua
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Color Hua

Install

npm i @uiw/react-color-hua

Usage

import Hua from '@uiw/react-color-hua';

function Demo() {
  return (
    <Hua hue={222} />
  );
}

Props

import { ColorAlphaProps } from '@uiw/react-color-alpha';

interface ColorHuaProps extends Omit<ColorAlphaProps, 'hsva' | 'onChange'> {
  onChange?: (newHua: { h: number }) => void;
  hue: number;
}

Package Sidebar

Install

npm i @uiw/react-color-hua

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

19.8 kB

Total Files

12

Last publish

Collaborators

  • uiwjs
  • wcjiang