Home Reference Source
public class | source

ColorPicker

Extends:

react~Component → ColorPicker

Color picker component that allows selecting or entering a hex color.

Static Member Summary

Static Public Members
public static

propTypes: {"showSwatches": *, "defaultSwatches": *, "ariaLabel": *, "ariaLabelledBy": *, "ariaDescribedBy": *, "onValueChange": *, "value": *, "disabled": *, "hidden": *, "tabIndex": *}

PropTypes

Static Public Members

public static propTypes: {"showSwatches": *, "defaultSwatches": *, "ariaLabel": *, "ariaLabelledBy": *, "ariaDescribedBy": *, "onValueChange": *, "value": *, "disabled": *, "hidden": *, "tabIndex": *} source

PropTypes

Properties:

NameTypeAttributeDescription
tabIndex number
  • optional

Sets tabindex attribute on the primary element tag to modify the tab order.

showSwatches number
  • optional

Displays the swatch colors.