@eurostat/vtl-editor
Version:
VTL editor based on Monaco
19 lines (18 loc) • 628 B
TypeScript
import { CursorPosition, Error, Options, SdmxResult, Tools, Variables } from "../model";
export declare type AntlrEditorProps = {
script: string;
setScript: (value: string) => void;
customFetcher?: (url: string) => Promise<any>;
sdmxResult?: SdmxResult;
sdmxResultURL?: string;
readOnly?: boolean;
variables?: Variables;
variableURLs?: string[];
tools: Tools;
options?: Options;
onCursorChange?: any;
onListErrors?: (errors: Error[]) => void;
movedCursor?: CursorPosition;
resizeLayout?: any;
};
export declare const AntlrEditor: (props: AntlrEditorProps) => JSX.Element;