UNPKG

@flodejs/json-schema-editor-antd

Version:
8 lines (7 loc) 362 B
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;