Skip to main content
Version: Next

Interface: IMonacoEditorProps

molecule.component.IMonacoEditorProps

Hierarchy

  • ComponentProps<any>

    IMonacoEditorProps

Properties

options

Optional options: IStandaloneEditorConstructionOptions

The option of monaco editor

Defined in

components/monaco/index.tsx:16


override

Optional override: IEditorOverrideServices

The override for monaco editor

Defined in

components/monaco/index.tsx:20

Methods

editorInstanceRef

Optional editorInstanceRef(instance): void

Parameters

NameType
instanceIStandaloneCodeEditor

Returns

void

Defined in

components/monaco/index.tsx:21


onChangeEditorProps

Optional onChangeEditorProps(props, nextProps): void

Parameters

NameType
propsIMonacoEditorProps
nextPropsIMonacoEditorProps

Returns

void

Defined in

components/monaco/index.tsx:22