"use strict";(self.webpackChunkinfluxdb_ui=self.webpackChunkinfluxdb_ui||[]).push([[52],{70288:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var o=n(67294),a=n(81493),i=n(42176),r=n(90804);n(24588);const d=({text:e,onChangeText:t,setEditorInstance:n,readOnly:d})=>o.createElement("div",{className:"markdown-editor--monaco","data-testid":"text-editor"},o.createElement(a.ZP,{language:i.Z,theme:r.Z,value:e,onChange:t,height:"300px",options:{fontSize:13,fontFamily:'"IBMPlexMono", monospace',cursorWidth:2,lineNumbersMinChars:4,lineDecorationsWidth:0,minimap:{enabled:!1},contextmenu:!1,overviewRulerBorder:!1,automaticLayout:!0,wordWrap:"on",lineNumbers:"off",scrollBeyondLastLine:!1,readOnly:!!d},editorDidMount:e=>{n&&n(e),e.focus()}}))}}]);
//# sourceMappingURL=c4e0b407d9.js.map