diff options
author | Yusuke Sakurai <kerokerokerop@gmail.com> | 2019-10-02 23:46:36 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-10-02 10:46:36 -0400 |
commit | d32f39f2ec271c7517bbd5113827dc43a7e40641 (patch) | |
tree | 66ecb0e069792a485d54ad03184cbdd727addf4a /cli/tests/047_jsx_test.jsx | |
parent | a646c2a88505819e07b5b967b9f8afacbac5aeef (diff) |
feat: JSX Support (#3038)
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 />) |