Add theme code editor
parent
453e708e3f
commit
0a3f3a8357
|
|
@ -3,8 +3,9 @@ import Editor from "@monaco-editor/react";
|
||||||
const CodeEditor = () => {
|
const CodeEditor = () => {
|
||||||
return (
|
return (
|
||||||
<Editor
|
<Editor
|
||||||
height="90vh"
|
height="90vh" // тут фигня, у меня кусок белый остается, высоты ему не хватает
|
||||||
defaultLanguage="cpp"
|
defaultLanguage="cpp"
|
||||||
|
theme="vs-dark"
|
||||||
defaultValue="// some comment"
|
defaultValue="// some comment"
|
||||||
options={{
|
options={{
|
||||||
minimap: {
|
minimap: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue