Skip to content

Commit de497e2

Browse files
benfletcheralexkrolick
authored andcommitted
Clarify effect of ‘only’ language (#2264)
Clarify that ‘only’ does not preclude `<Content />` from rendering.
1 parent acbc049 commit de497e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/jsx-in-depth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Children passed to a custom component can be anything, as long as that component
423423
<div>{true}</div>
424424
```
425425

426-
This can be useful to conditionally render React elements. This JSX only renders a `<Header />` if `showHeader` is `true`:
426+
This can be useful to conditionally render React elements. This JSX renders the `<Header />` component only if `showHeader` is `true`:
427427

428428
```js{2}
429429
<div>

0 commit comments

Comments
 (0)