Usage

import { ColorPicker } from '@loomhq/lens'
<ColorPicker onChange={func}/>

Using onChange

#ffffff

With default color

Wtih confirm button

Temp color: #ffffff
Final color: #ffffff

With swatches

Trigger

Use react-laag to position and trigger the ColorPicker.

Trigger

Props

prop
type
default
defaultColor
string
'#ffffff'
confirmButton
node
swatches
array
onChange
func
required