From d32f39f2ec271c7517bbd5113827dc43a7e40641 Mon Sep 17 00:00:00 2001 From: Yusuke Sakurai Date: Wed, 2 Oct 2019 23:46:36 +0900 Subject: feat: JSX Support (#3038) --- cli/tests/047_jsx_test.jsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 cli/tests/047_jsx_test.jsx (limited to 'cli/tests/047_jsx_test.jsx') 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 = () => ( +
land
+) +console.log() -- cgit v1.2.3