We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 996e089 commit 8b5b699Copy full SHA for 8b5b699
.changeset/good-keys-suffer.md
@@ -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