Skip to content

Commit b78e978

Browse files
authored
docs: fix example in component-slots.md (#593)
* Update component-slots.md * Update component-slots.md
1 parent 3c1659a commit b78e978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/component-slots.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Or even other components:
4848
<todo-button>
4949
<!-- Use a component to add an icon -->
5050
<font-awesome-icon name="plus"></font-awesome-icon>
51-
Your Profile
51+
Add todo
5252
</todo-button>
5353
```
5454

@@ -330,7 +330,7 @@ Whenever there are multiple slots, use the full `<template>` based syntax for _a
330330
<template v-slot:other="otherSlotProps">
331331
...
332332
</template>
333-
</current-user>
333+
</todo-list>
334334
```
335335

336336
### Destructuring Slot Props

0 commit comments

Comments
 (0)