Skip to content

components/common/MonacoEditorWrapper#

MonacoEditorWrapper()#

function MonacoEditorWrapper(props): Element;

Parameters#

Parameter Type
props MonacoEditorWrapperProps

Returns#

Element


MonacoEditorWrapperProps#

Properties#

language?#

optional language?: "python" | "javascript" | "typescript";

onChange#

onChange: (value) => void;
Parameters#
Parameter Type
value string
Returns#

void

readOnly?#

optional readOnly?: boolean;

style?#

optional style?: CSSProperties;

uri?#

optional uri?: string;

Custom model URI. When set, used instead of auto-generated fileExt URI.

value#

value: string;