UNPKG

829 BTypeScriptView Raw
1import * as React from "react";
2import { MonacoEditorProps } from "./types";
3import { noop } from "./utils";
4declare function MonacoEditor({ width, height, value, defaultValue, language, theme, options, overrideServices, editorWillMount, editorDidMount, editorWillUnmount, onChange, className, uri, }: MonacoEditorProps): React.JSX.Element;
5declare namespace MonacoEditor {
6 var defaultProps: {
7 width: string;
8 height: string;
9 value: any;
10 defaultValue: string;
11 language: string;
12 theme: any;
13 options: {};
14 overrideServices: {};
15 editorWillMount: typeof noop;
16 editorDidMount: typeof noop;
17 editorWillUnmount: typeof noop;
18 onChange: typeof noop;
19 className: any;
20 };
21 var displayName: string;
22}
23export default MonacoEditor;