Expand example in JSX samples to test #72

pull/77/head
Wilfred Hughes 2021-12-07 23:08:30 +07:00
parent d417fc9ae1
commit 2bdd876d40
2 changed files with 12 additions and 0 deletions

@ -4,3 +4,8 @@ ReactDOM.render(
</h1>,
document.getElementById("root")
);
var x = (
<p>
foo
</p>);

@ -1,3 +1,10 @@
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById("root"));
var x = (
<div>
<p>
foo
</p>
</div>);