- FormCodeEditor(
props: {
error?: {
message: string;
sourceInformation: {
endColumn: number;
endLine: number;
startColumn: number;
startLine: number;
};
};
extraEditorOptions?: IEditorOptions & IGlobalEditorOptions;
hideActionBar?: boolean;
hideGutter?: boolean;
hideMinimap?: boolean;
hidePadding?: boolean;
isReadOnly?: boolean;
language: string;
lineToScroll?: number;
title?: string;
updateValue?: (val: string) => void;
value: string;
},
): ReactNode
| Promise<ReactNode> Parameters
- props: {
error?: {
message: string;
sourceInformation: {
endColumn: number;
endLine: number;
startColumn: number;
startLine: number;
};
};
extraEditorOptions?: IEditorOptions & IGlobalEditorOptions;
hideActionBar?: boolean;
hideGutter?: boolean;
hideMinimap?: boolean;
hidePadding?: boolean;
isReadOnly?: boolean;
language: string;
lineToScroll?: number;
title?: string;
updateValue?: (val: string) => void;
value: string;
}
Returns ReactNode | Promise<ReactNode>
Properties
Optional
displayName
displayName?: string
Optional
propTypes
propTypes?: any
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.