import * as React from "react"; import { FieldProps } from "../../Field/Field"; export interface ColorPickerProps extends FieldProps { style?: React.CSSProperties; value?: Color | null; colors?: string[]; label?: string; placeholder?: string; asAccessory?: boolean; asSingleColorPicker?: boolean; swatches?: string[]; tooltipText?: string; id?: string; className?: string; onClick?(): void; onChange(color: Color, hex?: string): any; } export interface Color { r: number; g: number; b: number; a?: number; } export interface ColorPickerState { open: boolean; hex?: string; isValidHex: boolean; swatches: string[]; } declare const _default: React.FunctionComponent>; export default _default;