UNPKG

@typefox/monaco-editor-react

Version:
12 lines 555 B
import React, { type CSSProperties } from 'react'; import { MonacoEditorLanguageClientWrapper, type TextContents, type WrapperConfig } from 'monaco-editor-wrapper'; export type MonacoEditorProps = { style?: CSSProperties; className?: string; wrapperConfig: WrapperConfig; onTextChanged?: (textChanges: TextContents) => void; onLoad?: (wrapper: MonacoEditorLanguageClientWrapper) => void; onError?: (e: unknown) => void; }; export declare const MonacoEditorReactComp: React.FC<MonacoEditorProps>; //# sourceMappingURL=index.d.ts.map