1.4.0 • Published 1 year ago

@uwu/monaco-voby v1.4.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
1 year 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

1 year ago

1.3.0

2 years ago

1.2.0

2 years ago