summaryrefslogtreecommitdiffstats
path: root/sample_files/jsx_2.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'sample_files/jsx_2.jsx')
-rw-r--r--sample_files/jsx_2.jsx11
1 files changed, 11 insertions, 0 deletions
diff --git a/sample_files/jsx_2.jsx b/sample_files/jsx_2.jsx
new file mode 100644
index 000000000..26c8c3a55
--- /dev/null
+++ b/sample_files/jsx_2.jsx
@@ -0,0 +1,11 @@
+ReactDOM.render(
+ <h1 className="title">
+ <span>Hello</span>, world!
+ </h1>,
+ document.getElementById("root")
+);
+
+var x = (
+ <p>
+ foo
+ </p>);