components/sequence/CodeEditor#
CodeEditor()#
Inline Monaco editor. Several instances can be visible at once in a split workspace.
Parameters#
| Parameter | Type |
|---|---|
props |
CodeEditorProps |
Returns#
Element
mountMonaco()#
Returns#
void
setMonacoListener()#
Parameters#
| Parameter | Type |
|---|---|
_fn |
(val) => void |
Returns#
void
unmountMonaco()#
Returns#
void
EditorToolbarAction#
A configurable button shown in the editor's floating toolbar (next to the debug controls).
Properties#
active?#
Renders the button in an active/selected state.
badge?#
Shows a small dot on the button (e.g. to flag pending output while inactive).
disabled?#
icon#
id#
onClick#
Returns#
void