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
Name | Type |
---|---|
instance | IStandaloneCodeEditor |
Returns
void
Defined in
src/components/monaco/index.tsx:21
onChangeEditorProps
▸ Optional
onChangeEditorProps(props
, nextProps
): void
Parameters
Name | Type |
---|---|
props | IMonacoEditorProps |
nextProps | IMonacoEditorProps |
Returns
void