1.4.0 • Published 3 months ago

@uwu/monaco-voby v1.4.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
3 months ago

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>
	`;
};
1.4.0

3 months ago

1.3.0

4 months ago

1.2.0

5 months ago