UNPKG

@hey-web-components/monaco-editor

Version:
18 lines (17 loc) 827 B
import { EventName } from '@lit/react'; import * as monaco from 'monaco-editor'; import { HeyMonacoEditor, HeyMonacoDiffEditor } from './index'; export declare const MonacoEditor: import("@lit/react").ReactWebComponent<HeyMonacoEditor, { oneditorInitialized: EventName<CustomEvent<{ monaco?: typeof monaco | undefined; editor?: monaco.editor.IStandaloneCodeEditor | undefined; }>>; ondidChangeModelContent: EventName<CustomEvent<monaco.editor.IModelContentChangedEvent>>; }>; export declare const MonacoDiffEditor: import("@lit/react").ReactWebComponent<HeyMonacoDiffEditor, { oneditorInitialized: EventName<CustomEvent<{ monaco?: typeof monaco | undefined; editor?: monaco.editor.IStandaloneDiffEditor | undefined; }>>; ondidUpdateDiff: EventName<CustomEvent<any>>; }>;