aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 %}