1 | import * as React from "react";
|
2 | import { MonacoEditorProps } from "./types";
|
3 | import { noop } from "./utils";
|
4 | declare function MonacoEditor({ width, height, value, defaultValue, language, theme, options, overrideServices, editorWillMount, editorDidMount, editorWillUnmount, onChange, className, uri, }: MonacoEditorProps): React.JSX.Element;
|
5 | declare 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 | }
|
23 | export default MonacoEditor;
|