From 2f49143ecbff3c4cce779363bca966b9c11137b0 Mon Sep 17 00:00:00 2001 From: kamijin_fanta Date: Mon, 11 Sep 2023 11:29:23 +0900 Subject: [PATCH] docs: fixed example of jsx code translation --- docs/runtime/jsx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/runtime/jsx.md b/docs/runtime/jsx.md index ab9a14a8d3c..3d37dbe0174 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 %}