Monaco as an easy to use voby component
npm install @uwu/monaco-vobyPlease read the main readme here.
``tsx
import { html, $ } from "voby";
import Monaco from "@uwu/monaco-voby";
export default () => {
const val = $("");
return html
<${Monaco}
value=${val} // required
lang="javascript" // required
theme="Monokai"
readonly=${false}
height="30rem"
width="20rem"
otherCfg=${{}}
/>
${val}
;
};
``