UNPKG

@orca-fe/painter

Version:
13 lines (12 loc) 512 B
import React from 'react'; import type { TriggerProps } from '@orca-fe/pocket'; export interface ColorPickerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'size'> { defaultValue?: string; value?: string; onChange?: (color: string) => void; localStorageKey?: string; size?: number; triggerProps?: Omit<TriggerProps, 'children' | 'popup'>; } declare const ColorPicker: (props: ColorPickerProps) => import("react/jsx-runtime").JSX.Element; export default ColorPicker;