1.4.0 • Published 3 months ago

@uwu/monaco-solid v1.4.0

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

Solid simple-monaco

Please read the main readme here.

import { createSignal } from "solid-js";
import Monaco from "@uwu/monaco-solid";

export default () => {
	const [val, setVal] = createSignal("");

	return (
		<>
			<Monaco
				value={val()} // required
				valOut={setVal}
				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

1 year ago

1.1.0

1 year ago

1.0.0

2 years ago