ze-react-component-library
Version:
ZeroETP React Component Library
23 lines (22 loc) • 566 B
TypeScript
import React, { FC } from "react";
export declare const types: readonly ["entity", "event"];
export declare type Type = typeof types[number];
declare type JsonEditorProps = {
value?: Record<string, any>;
editorRef?: React.MutableRefObject<any>;
editable: boolean;
type?: Type;
isCreate?: boolean;
};
export declare const schemaTemplate: {
_id: any;
name: any;
type: string;
properties: {
_id: any;
name: any;
type: any;
}[];
};
declare const JsonEditor: FC<JsonEditorProps>;
export default JsonEditor;