- CodeWrapper(props): Element
Parameters
- props: {
content: string;
contextMenuCallback: ((e) => void);
editorProvider: MonacoEditorProvider;
language?: string;
untitledResourceResolver: UntitledResourceResolver;
}content: string
contextMenuCallback: ((e) => void)
editorProvider: MonacoEditorProvider
Optional
language?: string
untitledResourceResolver: UntitledResourceResolver
Returns Element
Renders the given code within a Monaco Editor