UNPKG

ze-react-component-library

Version:
17 lines (16 loc) 701 B
import React from "react"; import InnerZEJsonEditor from "./ZEJsonEditor"; export type { ZEJsonEditorProps } from "./ZEJsonEditor"; declare type InnerZEJsonEditorType = typeof InnerZEJsonEditor; declare const ZEJsonEditorRender: { render: (v: any, props: any, ...rest: any[]) => JSX.Element; renderFormItem: (text: any, props: any, form: any) => JSX.Element; }; export declare const getZEJsonEditorFormValidator: (editorRef: React.MutableRefObject<any>) => { validator: () => Promise<void>; }; interface ZEJsonEditorInstance extends InnerZEJsonEditorType { ZEJsonEditorRender: typeof ZEJsonEditorRender; } declare const ZEJsonEditor: ZEJsonEditorInstance; export default ZEJsonEditor;