/** * @file * @author chenyaqiu@baidu.com */ import React from 'react'; import { SelectProps } from '../select/src'; export type ColorPickerType = 'default' | 'simple' | 'custom'; export interface ColorPickerProps extends SelectProps { defaultColor?: string; defaultColors?: Array; disabled?: boolean; type?: ColorPickerType; color?: string; style?: React.CSSProperties; className?: string; placeholder?: string; inputPlaceholder?: string; prefixCls?: string; allowClear?: boolean; onChange?: (hex: string, color?: string | object) => void; } declare const ColorPicker: React.FC; export default ColorPicker;