diff options
Diffstat (limited to 'cli/tests/047_jsx_test.jsx')
-rw-r--r-- | cli/tests/047_jsx_test.jsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/047_jsx_test.jsx b/cli/tests/047_jsx_test.jsx new file mode 100644 index 000000000..553c4c5a5 --- /dev/null +++ b/cli/tests/047_jsx_test.jsx @@ -0,0 +1,9 @@ +const React = { + createElement(factory, props, ...children) { + return {factory, props, children} + } +} +const View = () => ( + <div class="deno">land</div> +) +console.log(<View />) |