@udecode/plate-ui-font
Version:
Font UI for Plate
14 lines • 637 B
TypeScript
import { ReactNode } from 'react';
import { ToolbarButtonProps } from '@udecode/plate-ui-toolbar';
import { ColorType } from '../ColorPicker/ColorType';
declare type ColorPickerToolbarDropdownProps = {
pluginKey: string;
icon: ReactNode;
selectedIcon: ReactNode;
colors?: ColorType[];
customColors?: ColorType[];
closeOnSelect?: boolean;
};
export declare const ColorPickerToolbarDropdown: ({ id, pluginKey, icon, selectedIcon, colors, customColors, closeOnSelect, ...rest }: ColorPickerToolbarDropdownProps & ToolbarButtonProps) => JSX.Element;
export {};
//# sourceMappingURL=ColorPickerToolbarDropdown.d.ts.map