ColorPicker
Color picker input field
Installation
Properties
Name
Type
Description
color
string
default color
onChange
(color: string) => void
callback on select a color
position
picker position. default is left
className
string
class name for additional styles
closeOnSelect
boolean
close the picker on select a color default is true
displayFormat
change display format
returnFormat
change return format
color
default color
type
string
onChange
callback on select a color
type
(color: string) => void
position
picker position. default is left
type
className
class name for additional styles
type
string
closeOnSelect
close the picker on select a color default is true
type
boolean
displayFormat
change display format
type
returnFormat
change return format
type
Last updated