1.2.24 • Published 3 years ago

w-color-selector v1.2.24

Weekly downloads
18
License
ISC
Repository
github
Last release
3 years ago

wcolor

wcolor is react component. It is Markdown Input tag to selector color

Install

  npm install w-color-selector

Usage

Import component

  import ColorSelector from 'w-color-selector';

Examples

  <ColorSelector onChange={(value) => fn(value)}/>

Props

width - optional

Set width for input show color

  • Type of: Number
  • Unit: px
height - optional

Set height for input show color

  • Type of: Number
  • Unit: px
defaultValue - optional

Default value of input. Default is #54478c

  • Type of: string
onChange(value: string) - required

A callback when happens for every change value

Note

When click add color, to add you click mouse out and click. You want to hidden popup you can click into input or double click into out popup

1.2.24

3 years ago

1.2.23

3 years ago

1.2.22

3 years ago

1.2.13

3 years ago

1.2.21

3 years ago

1.2.10

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.0

4 years ago

1.2.1

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago