Skip to content

Commit 996dcd2

Browse files
YoonHangeoffrich
andauthored
docs: clarify the meaning of content (sveltejs#485)
* fix mismatched content * admit suggestion Co-authored-by: Geoff Rich <[email protected]> --------- Co-authored-by: Geoff Rich <[email protected]>
1 parent 7b01aef commit 996dcd2

File tree

1 file changed

+1
-1
lines changed
  • content/tutorial/02-advanced-svelte/07-composition/02-named-slots

1 file changed

+1
-1
lines changed

content/tutorial/02-advanced-svelte/07-composition/02-named-slots/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Named slots
44

55
The previous example contained a _default slot_, which renders the direct children of a component. Sometimes you will need more control over placement. In those cases, we can use _named slots_.
66

7-
Inside the `<Card>` component, we've got `<span slot="telephone">` and others for `company` and `address`. Let's add the corresponding named slots in `Card.svelte`:
7+
Inside `App.svelte`, we're rendering a `<Card>` component that contains `<span slot="telephone">` and others for `company` and `address`. Let's add the corresponding named slots in `Card.svelte`:
88

99
```svelte
1010
/// file: Card.svelte

0 commit comments

Comments
 (0)