UNPKG

react-antd-cssvars

Version:
12 lines (11 loc) 413 B
import React from "react"; import { IButtonProps } from "../Button"; import { hex } from "../../Theme"; export interface IColorPicker extends IButtonProps { defaultColor: string; side?: "left" | "right"; onPick?: (value: hex) => void; onChangeColor?: (color: string) => void; } declare const ColorPickerChooser: React.FunctionComponent<IColorPicker>; export default ColorPickerChooser;