diff options
| author | 2023-03-09 00:16:06 +0800 | |
|---|---|---|
| committer | 2023-03-08 08:16:06 -0800 | |
| commit | deb7a2b19225265ad8f847da300f9f6db7c5e8b3 (patch) | |
| tree | 2b6e0c7bd8774cbb6a2d95047b14647180fafcff | |
| parent | 0fd9b2421e95b916b080a0cdc74f8364cdc20f0f (diff) | |
| download | bun-deb7a2b19225265ad8f847da300f9f6db7c5e8b3.tar.gz bun-deb7a2b19225265ad8f847da300f9f6db7c5e8b3.tar.zst bun-deb7a2b19225265ad8f847da300f9f6db7c5e8b3.zip | |
docs(react): add the missing props.message to `<Component />` (#2347)
| -rw-r--r-- | docs/ecosystem/react.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ecosystem/react.md b/docs/ecosystem/react.md index c0904421a..197edb30f 100644 --- a/docs/ecosystem/react.md +++ b/docs/ecosystem/react.md @@ -9,7 +9,7 @@ function Component(props: {message: string}) { ); } -console.log(<Component />); +console.log(<Component message="Hello world!" />); ``` Bun implements special logging for JSX to make debugging easier. |
