@udecode/plate-ui-font
Version:
Font UI for Plate
15 lines • 603 B
TypeScript
import React, { ReactNode } from 'react';
import { ColorType } from './ColorType';
declare type ColorPickerProps = {
color?: string;
colors: ColorType[];
customColors: ColorType[];
selectedIcon: ReactNode;
updateColor: (color: string) => void;
updateCustomColor: (color: string) => void;
clearColor: () => void;
open?: boolean;
};
export declare const ColorPicker: React.MemoExoticComponent<({ color, colors, customColors, selectedIcon, updateColor, updateCustomColor, clearColor, }: ColorPickerProps) => JSX.Element>;
export {};
//# sourceMappingURL=ColorPicker.d.ts.map