Skip to content

Commit 465fa97

Browse files
Update src/routes/solid-meta/reference/meta/use-head.mdx
Co-authored-by: Sarah <hello@sarahgerrard.me>
1 parent 2652d3c commit 465fa97

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

src/routes/solid-meta/reference/meta/use-head.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,10 @@ The tag name to render in `<head>` (eg. `<script>`, `<meta>`, `<title>`).
7676
- **Type:** `Record<string, unknown>`
7777
- **Required:** Yes
7878

79-
The attributes and properties applied to the element.
79+
Attributes and properties applied to the rendered element.
8080

81-
#### `props.children`
82-
83-
When provided, `children` becomes the element content for tags like `title`, `style`, or `script`.
84-
On the server, arrays of strings are concatenated without commas.
85-
If `setting.close` is not enabled, `children` is not rendered during SSR.
81+
If `props.children` is provided, is provided, it is used as the element’s content for tags such as `title`, `style`, and `script`.
82+
During server-side rendering, arrays of strings are concatenated without commas.
8683

8784
### `setting`
8885

0 commit comments

Comments
 (0)