Add theme code editor

main
Alex 2022-07-15 08:57:42 +03:00
parent 453e708e3f
commit 0a3f3a8357
1 changed files with 2 additions and 1 deletions

View File

@ -3,8 +3,9 @@ import Editor from "@monaco-editor/react";
const CodeEditor = () => {
return (
<Editor
height="90vh"
height="90vh" // тут фигня, у меня кусок белый остается, высоты ему не хватает
defaultLanguage="cpp"
theme="vs-dark"
defaultValue="// some comment"
options={{
minimap: {