@uwu/monaco-voby
v1.4.0
Published
Monaco as an easy to use voby component
Downloads
5
Keywords
Readme
Voby simple-monaco
Please read the main readme here.
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=${{}}
/>
<pre>
<code>${val}</code>
</pre>
`;
};