1.0.4 • Published 12 days ago

@igloo-ui/color-picker v1.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 days ago

ColorPicker

Color pickers allow users to assign a color to a given element.

Installation

To install @igloo-ui/color-picker in your project, you will need to run the following command using npm:

npm install @igloo-ui/color-picker

If you prefer Yarn, use the following command instead:

yarn add @igloo-ui/color-picker

Usage

Then to use the component in your code just import it!

import ColorPicker from '@igloo-ui/color-picker';

const [selectedColor, setSelectedColor] = React.useState("dandelion200");

<ColorPicker 
    onSelect={
        (color) => {
            setSelectedColor(color);
        }          
    } 
    selectedColor={selectedColor} 
/>
1.0.4

12 days ago

1.0.3

2 months ago

1.0.2

2 months ago

1.0.1

3 months ago

1.0.0

3 months ago

0.3.0

4 months ago

0.2.4

4 months ago

0.2.3

4 months ago

0.2.2

5 months ago

0.2.1

5 months ago

0.2.0

6 months ago

0.1.0

9 months ago

0.0.0

9 months ago