aboutsummaryrefslogtreecommitdiff
path: root/docs/runtime/jsx.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/runtime/jsx.md')
-rw-r--r--docs/runtime/jsx.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/runtime/jsx.md b/docs/runtime/jsx.md
index ab9a14a8d..31a61652b 100644
--- a/docs/runtime/jsx.md
+++ b/docs/runtime/jsx.md
@@ -14,7 +14,7 @@ console.log(<Component message="Hello world!" />);
## Configuration
-Bun reads your `tsconfig.json` or `jsconfig.json` configuration files to determines how to perform the JSX transform internally. To avoid using either of these, the following options can also be defined in [`bunfig.toml`](/docs/runtime/configuration).
+Bun reads your `tsconfig.json` or `jsconfig.json` configuration files to determines how to perform the JSX transform internally. To avoid using either of these, the following options can also be defined in [`bunfig.toml`](/docs/runtime/bunfig).
The following compiler options are respected.
@@ -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 %}