color-picker-g
TypeScript icon, indicating that this package has built-in type declarations

0.1.22 • Public • Published

color-picker-g


ColorPicker component based on antd with React

NPM version

Screenshot

Demo

online example: https://favori.gitee.io/gantd-landing (CodePen)

install

rc-tabs

Feature

  • Standard color board based on Antd
  • Support read and write separation

Usage

import React from 'react';
import ColorPicker from 'color-picker-g';

function BasicUse() {
  const [color, setColor] = useState('#EB2F96');
  return <ColorPicker
      value={color}
      onChange={setColor.bind(null)}
    />
}

React.render(<BasicUse/>, mountNode);

API

Documentation

Contact

Anthor

GantFDT

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i color-picker-g

Weekly Downloads

27

Version

0.1.22

License

MIT

Unpacked Size

55.7 kB

Total Files

23

Last publish

Collaborators

  • wujiaxian
  • liuyanlu
  • favori
  • eyelly
  • vvey
  • zhangdousang
  • solinma
  • yunfang