CodeEditor
A basic lazy loaded Code editor with hover help and completion.
<React.Suspense fallback={<LoadingBox />}>
<CodeEditor
value={code}
language="yaml"
/>
</React.Suspense>
| Parameter Name | Description |
|---|---|
|
String representing the YAML code to render. |
|
String representing the language of the editor. |
|
Monaco editor options. For more details, see Interface IStandAloneEditorConstructionOptions. |
|
Minimum editor height in valid CSS height values. |
|
Boolean to show shortcuts on top of the editor. |
|
Array of ReactNode rendered on the toolbar links section on top of the editor. |
|
Callback for on code change event. |
|
Callback called when the command CTRL / CMD + S is triggered. |
|
React reference to |