Skip to main content
Version: 0.9.0-beta.2

Interface: IMonacoEditorProps

molecule.component.IMonacoEditorProps

Hierarchy

  • ComponentProps<any>

    IMonacoEditorProps

Properties

options

Optional options: IStandaloneEditorConstructionOptions

The option of monaco editor

Defined in

src/components/monaco/index.tsx:16


override

Optional override: IEditorOverrideServices

The override for monaco editor

Defined in

src/components/monaco/index.tsx:20

Methods

editorInstanceRef

Optional editorInstanceRef(instance): void

Parameters

NameType
instanceIStandaloneCodeEditor

Returns

void

Defined in

src/components/monaco/index.tsx:21


onChangeEditorProps

Optional onChangeEditorProps(props, nextProps): void

Parameters

NameType
propsIMonacoEditorProps
nextPropsIMonacoEditorProps

Returns

void

Defined in

src/components/monaco/index.tsx:22