Skip to content

Commit

Permalink
refactor(VCard): use v-slots where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed May 26, 2021
1 parent 49b1883 commit 247ef6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vuetify/src/components/VCard/VCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default defineComponent({
) }

{ slots.media && (
<VCardMedia>{ slots.media() }</VCardMedia>
<VCardMedia v-slots={{ default: slots.media }} />
) }

{ hasItem && (
Expand Down Expand Up @@ -175,7 +175,7 @@ export default defineComponent({
{ slots.default?.() }

{ slots.actions && (
<VCardActions>{ slots.actions() }</VCardActions>
<VCardActions v-slots={{ default: slots.actions }} />
) }
</props.tag>
)
Expand Down

0 comments on commit 247ef6a

Please sign in to comment.