diff options
author | 2021-05-04 16:02:22 -0700 | |
---|---|---|
committer | 2021-05-04 16:02:22 -0700 | |
commit | 5a51ea3957cabb7e07fb5451506c90f30b2663c2 (patch) | |
tree | bbbd1de976f62a9681de91b9a4d50f0aa2f1f411 /test.jsx | |
parent | ed9981c9c6443443a8d0e93ecaec344d79d2aec0 (diff) | |
download | bun-5a51ea3957cabb7e07fb5451506c90f30b2663c2.tar.gz bun-5a51ea3957cabb7e07fb5451506c90f30b2663c2.tar.zst bun-5a51ea3957cabb7e07fb5451506c90f30b2663c2.zip |
w
Former-commit-id: 082d18484830e21acb4b7312586041efd0246073
Diffstat (limited to 'test.jsx')
-rw-r--r-- | test.jsx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test.jsx b/test.jsx new file mode 100644 index 000000000..b0e737df3 --- /dev/null +++ b/test.jsx @@ -0,0 +1,27 @@ +var Button = () => { + return <div className="button">Button!</div>; +}; + +var Bar = () => { + return ( + <div prop={1}> + Plain text + <div> + ← A child div + <Button>Red</Button> + </div> + </div> + ); +}; + +var Triple = () => { + return ( + <div prop={1}> + Plain text + <div> + ← A child div + <Button>Red</Button> + </div> + </div> + ); +}; |