@chamn/engine
Version:
13 lines (12 loc) • 528 B
TypeScript
import { ClassNameType, CNode } from '@chamn/model';
import { CPluginCtx } from '../../core/pluginManager';
export type ClassNameEditorProps = {
initialValue?: ClassNameType[];
onValueChange?: (val: ClassNameType[]) => void;
pluginContext: CPluginCtx;
nodeModel: CNode;
};
export type ClassNameEditorRef = {
setValue: (val: ClassNameType[]) => void;
};
export declare const ClassNameEditor: import('react').ForwardRefExoticComponent<ClassNameEditorProps & import('react').RefAttributes<ClassNameEditorRef>>;