@flodejs/json-schema-editor-antd
Version:
Json Schema Editor
8 lines (7 loc) • 362 B
TypeScript
import React from 'react';
import { SchemaEditorProps } from './types';
export interface JsonSchemaEditorHandle {
changeSchema: (namePath: number[], value: any, propertyName?: string) => void;
}
declare const JsonSchemaEditor: React.ForwardRefExoticComponent<SchemaEditorProps & React.RefAttributes<JsonSchemaEditorHandle>>;
export default JsonSchemaEditor;