UNPKG

@chamn/engine

Version:
25 lines (24 loc) 667 B
export type SinglePropertyEditorProps = { mode: 'create' | 'edit'; value?: { property: string; value: string; }; allValues: { property: string; value: string; }[]; onValueChange?: (value: { property: string; value: string; }) => void; onCreate?: (value: { property: string; value: string; }) => void; onDelete?: () => void; }; export type SinglePropertyEditorRef = { reset: () => void; }; export declare const SinglePropertyEditor: import('react').ForwardRefExoticComponent<SinglePropertyEditorProps & import('react').RefAttributes<SinglePropertyEditorRef>>;