Skip to content

Commit 8b5b699

Browse files
committed
docs: changeset
1 parent 996e089 commit 8b5b699

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.changeset/good-keys-suffer.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
"@patternfly/pfe-core": minor
3+
"@patternfly/pfe-elements": minor
4+
---
5+
**SSR**: added `ssr-hint-has-slotted` and `ssr-hint-has-slotted-default` attributes to elements that use slot controller.
6+
7+
When running SSR on elements with slots, add these attributes to ensure they render correctly.
8+
9+
```html
10+
<pf-card ssr-hint-has-slotted-default
11+
ssr-hint-has-slotted="header,footer">
12+
<h2 slot="header">Header Content</h2>
13+
<p>Default content</p>
14+
<span slot="footer">Footer Content</span>
15+
</pf-card>
16+
```
17+

0 commit comments

Comments
 (0)