MVP Verson: 0.4.8 beta
Lang Icon
Toggle Icon
ColorPicker
Pick a color.
Default
PreviewCode
Disabled
PreviewCode
Detail
PreviewCode
#000000
rgb(0, 0, 0)
hsl(0, 0%, 0%)
Props
Universal Props
PropTypeAccepted ValuesDescriptionDefault
showTextbooleanbooleanenable color detail.false
disabledbooleanbooleandisabled the ColorPicker.false
onChange() => void() => voidCallback when color is selected,like:onChange={(value) => console.log('selected color:', value)}-