aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Zong <zongzi.xy@gmail.com> 2023-09-13 16:47:54 +0800
committerGravatar GitHub <noreply@github.com> 2023-09-13 01:47:54 -0700
commiteeb790a2f17337546c5749d713c0be31f5181d02 (patch)
tree8c2fb59bfc84fcc26ef15d7d108ebcd7ceda63fe
parent878b473085f9db2425bb45f0c76dbdf5bb3b4b85 (diff)
downloadbun-eeb790a2f17337546c5749d713c0be31f5181d02.tar.gz
bun-eeb790a2f17337546c5749d713c0be31f5181d02.tar.zst
bun-eeb790a2f17337546c5749d713c0be31f5181d02.zip
docs(runtime): fix jsx FragmentFactory output example (#5243)
-rw-r--r--docs/runtime/jsx.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/runtime/jsx.md b/docs/runtime/jsx.md
index ab9a14a8d..3d37dbe01 100644
--- a/docs/runtime/jsx.md
+++ b/docs/runtime/jsx.md
@@ -175,7 +175,7 @@ The function name used to represent [JSX fragments](https://react.dev/reference/
// output
import { myjsx, MyFragment } from "react";
- createElement("Box", { width: 5 }, "Hello");
+ myjsx(MyFragment, null, "Hello");
```
{% /table %}