Add a JSX test file

ida_star
Wilfred Hughes 2021-08-16 22:17:32 +07:00
parent 91f80d8245
commit 47d888c140
2 changed files with 9 additions and 0 deletions

@ -0,0 +1,6 @@
ReactDOM.render(
<h1 className="title">
<span>Hello</span>, world!
</h1>,
document.getElementById("root")
);

@ -0,0 +1,3 @@
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById("root"));