react-antd-cssvars
Version:
A minimal cssvars antd module
12 lines (11 loc) • 413 B
TypeScript
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;