@uwu/monaco-solid
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

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>
		</>
	);
};

Readme

Keywords

none

Package Sidebar

Install

npm i @uwu/monaco-solid

Weekly Downloads

1

Version

1.4.0

License

BSD-3-Clause

Unpacked Size

5.99 kB

Total Files

7

Last publish

Collaborators

  • ioj4
  • redstonekasi
  • phorcys
  • cr3atable
  • xirreal
  • yellowsink