@ovine/editor
Version:
Ovine json editor.
21 lines (20 loc) • 568 B
TypeScript
import { ReqOption } from "../../../../core/lib/utils/request/types";
import { AnyFunc } from "../../../../core/lib/utils/types";
export declare type EditorProps = {
breadcrumb?: string | string[];
schema?: any;
initApi?: ReqOption;
saveApi?: ReqOption;
saveInterval?: number;
getSchema?: AnyFunc;
onSave?: (schema: any) => void;
onExit?: AnyFunc;
plugins?: any[];
isMobile?: boolean;
autoFocus?: boolean;
schemaFilter?: (schema: any) => any;
amisEnv?: any;
className?: string;
ctx?: any;
data?: any;
};