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';