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