1.0.4 • Published 1 year ago

live-code-editor v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Live Code Editor

Example:

import LiveCode from "../src/LiveCode";

<LiveCode initialValue={`let fizzBuzz = function (n) { }`} />;

Parameters

ParametersDefault ValueType OptionsExample UseReasoning
exact" "stringlet fizzBuzz = function (n) { }Add in a default function, comments or code to start people off
renderNowfalsebooleantrueWhether or not to immediately load the output. Get a button instead for rendering code on demand
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago