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/046_jsx_test.tsx | |
parent | a646c2a88505819e07b5b967b9f8afacbac5aeef (diff) |
feat: JSX Support (#3038)
Diffstat (limited to 'cli/tests/046_jsx_test.tsx')
-rw-r--r-- | cli/tests/046_jsx_test.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/046_jsx_test.tsx b/cli/tests/046_jsx_test.tsx new file mode 100644 index 000000000..4e9380eb8 --- /dev/null +++ b/cli/tests/046_jsx_test.tsx @@ -0,0 +1,9 @@ +const React = { + createElement(factory: any, props: any, ...children: any[]) { + return {factory, props, children} + } +} +const View = () => ( + <div class="deno">land</div> +) +console.log(<View />) |