Skip to content

Commit

Permalink
fix: add props definition to T3CeTextMedia Content Element
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Narowski committed Nov 8, 2024
1 parent 304d304 commit 74c84e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 8 additions & 2 deletions src/runtime/components/T3CeTextmedia/T3CeTextmedia.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<template>
<t3-ce-textpic
v-bind="$props"
<T3CeTextpic
v-bind="props"
class="t3-ce-textmedia"
/>
</template>

<script setup lang="ts">
import type { T3CeGalleryProps } from '../../../types'
const props = defineProps<T3CeGalleryProps>()
</script>
7 changes: 0 additions & 7 deletions src/runtime/components/T3CeTextpic/T3CeTextpic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,3 @@ import type { T3CeGalleryProps } from '../../../types'
const props = defineProps<T3CeGalleryProps>()
</script>

<script lang="ts">
export default {
name: 'T3CeTextpic',
inheritAttrs: false
}
</script>

0 comments on commit 74c84e1

Please sign in to comment.