Skip to content

Commit c3b36ea

Browse files
author
Rich Harris
committed
typo
1 parent 3305123 commit c3b36ea

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

content/tutorial/03-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>` element, we've got `<span slot="telephone">` and others for `company` and `address`. Let's add the corresponding named slots in `Card.svelte`:
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`:
88

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

0 commit comments

Comments
 (0)