ColorPickerProps Interface

Deprecated  in 4.11.x. Props of deprecated component ColorPickerButton.

Properties for the ColorPickerButton React component

Extends

Properties

Name Type Description
colorDefs ColorDef[] | undefined Available colors  
disabled boolean | undefined Disabled or not  
dropDownTitle string | undefined Title to show at top of DropDown  
initialColor ColorDef Active color  
numColumns number | undefined Number of columns  
onColorPick (color: ColorDef) => void | undefined    
readonly boolean | undefined Readonly or not  
ref Ref<HTMLButtonElement> | undefined Provides ability to return reference to HTMLButtonElement  
round boolean | undefined Show swatches as squares unless round is set to true  
showCaret boolean | undefined If true show up/down caret next to color  

Inherited properties

Name Type Inherited from Description
itemId string | undefined CommonProps Optional unique identifier for item.

Defined in

Last Updated: 13 May, 2024