ColorPickerProps

Represents the props of the KendoReact ColorPicker component.

defaultValue? string

The default value of the ColorPicker (see example).

dir? string

Represents the dir HTML attribute.

disabled? boolean

Sets the disabled state of the ColorPicker (see example).

gradientSettings? ColorPickerGradientSettings

Configures the ColorGradient that is displayed in the ColorPicker popup (see example).

icon? string

Defines the name of an existing icon in the Kendo UI theme. You have to provide only the name of the icon without the k-icon or the k-i- prefixes. For example, edit-tools will be parsed to k-icon k-i-edit-tools (see example).

iconClassName? string

The class name which displays an icon in the ColorPicker button (see example).

onBlur? (event: ColorPickerBlurEvent) => void

The event handler that will be fired when ColorPicker is blurred.

onChange? (event: ColorPickerChangeEvent) => void

The event handler that will be fired when the user edits the value.

onFocus? (event: ColorPickerFocusEvent) => void

The event handler that will be fired when ColorPicker is focused.

open? boolean

Sets the open and close state of the ColorPicker.

paletteSettings? ColorPickerPaletteSettings

Configures the ColorPalette that is displayed in the ColorPicker popup (see example).

popupSettings? ColorPickerPopupSettings

Configures the popup of the ColorPicker.

tabIndex? number

Sets the tabIndex property of the ColorPicker. Defaults to 0.

value? string

Specifies the value of the ColorPicker. Currently, only the RGBA format is supported.

view? ColorPickerView

Sets the view which the ColorPicker will render in the popup (see example).

 /