This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uiColorPicker

ColorPicker variable

ColorPicker variable

Signature

ColorPicker: React.FunctionComponent<{
    color: string;
    onChange: ColorPickerChangeHandler;
    children?: ColorPickerTriggerRenderer | undefined;
    onColorChange?: ColorPickerChangeHandler | undefined;
    enableNamedColors?: boolean | undefined;
}>

Import

import { ColorPicker } from '@grafana/ui';