UNPKG

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