dmeditor
Version:
dmeditor is a block-style visual editor. Data is in json format.
14 lines (13 loc) • 524 B
TypeScript
export declare const useRecentColors: () => {
recentColors: string[];
handleUpdateRecentColors: (color?: string) => void;
};
export declare const PickColor: (props: {
color: string | undefined;
displaySelectedColor?: boolean | undefined;
width?: number | undefined;
recentColors?: string[] | undefined;
onChange?: ((color?: string) => void) | undefined;
onChangeComplete?: ((color?: string) => void) | undefined;
title?: string | undefined;
}) => import("react/jsx-runtime").JSX.Element;