Skip to content

Commit

Permalink
docs: fixing typo in slot prop fallback (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferry77 committed Aug 10, 2020
1 parent 4b1552e commit 9301981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/component-slots.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ You can even define fallbacks, to be used in case a slot prop is undefined:
```html
<todo-list v-slot="{ item = 'Placeholder' }">
<i class="fas fa-check"></i>
<span class="green">{{ todo }}<span>
<span class="green">{{ item }}<span>
</todo-list>
```

Expand Down

0 comments on commit 9301981

Please sign in to comment.