antd-color-editor
Version:
An open-source color editor for designing color system
27 lines (26 loc) • 664 B
TypeScript
import { type ReactNode } from 'react';
import { type IEditorConfig, type IScales } from "../genScalesByConfig";
export interface IColorListScale {
color: string;
darkColor: string;
dom: ReactNode;
name: string;
scales: IScales;
}
export interface IColorStudio {
forceConfig?: {
data: IEditorConfig;
name: string;
time: number;
};
logo?: string;
logoHref?: string;
onChange?: (v: {
name: string;
scales: IScales;
}) => void;
showFooter?: boolean;
title?: string;
}
declare const ColorStudio: import("react").NamedExoticComponent<IColorStudio>;
export default ColorStudio;