Skip to content

Commit ae55438

Browse files
Lukas742MarcusNotheis
authored andcommitted
docs(CustomComponentsSlots): improve wording (#4639)
1 parent 3b3f166 commit ae55438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/knowledge-base/CustomComponentsSlots.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The `BarComponent` would compile to this:
2929
3030
<FaultyBarComponent />
3131
32-
As you can see, both custom components are not displayed.
32+
As you can see, both custom components are not displayed in the right place.
3333
Our wrapper does add the `slot` prop to the custom component, but the most outer HTML-Element/component (e.g. `<div>Start</div>`) does not accept it and therefore cannot use it.
3434
3535
To fix this the `slot` prop must also be passed to the outer element of the component:

0 commit comments

Comments
 (0)