Skip to content

Commit

Permalink
docs: update extending example (unovue#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
madebyfabian authored Oct 29, 2023
1 parent bd1758a commit 5cce805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/guides/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ interface Props extends AccordionItemProps {
foo: string;
}
defineProps<AccordionItemProps>();
defineProps<Props>();
</script>
<template>
<AccordionItem v-bind="props" />
<AccordionItem v-bind="$props"><slot /></AccordionItem>
</template>
```

Expand Down

0 comments on commit 5cce805

Please sign in to comment.