summaryrefslogtreecommitdiff
path: root/cli/tests/046_jsx_test.tsx
diff options
context:
space:
mode:
authorYusuke Sakurai <kerokerokerop@gmail.com>2019-10-02 23:46:36 +0900
committerRyan Dahl <ry@tinyclouds.org>2019-10-02 10:46:36 -0400
commitd32f39f2ec271c7517bbd5113827dc43a7e40641 (patch)
tree66ecb0e069792a485d54ad03184cbdd727addf4a /cli/tests/046_jsx_test.tsx
parenta646c2a88505819e07b5b967b9f8afacbac5aeef (diff)
feat: JSX Support (#3038)
Diffstat (limited to 'cli/tests/046_jsx_test.tsx')
-rw-r--r--cli/tests/046_jsx_test.tsx9
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 />)