components/collection/activity/events/EventRow.vue
<template>
<div>
<EventRowDesktop
v-if="variant === 'Desktop'"
:event="event"
/>
<EventRowTablet
v-else
:event="event"
/>
</div>
</template>
<script setup lang="ts">
import EventRowDesktop from './eventRow/EventRowDesktop.vue'
import EventRowTablet from './eventRow/EventRowTablet.vue'
import type { InteractionWithNFT } from '@/composables/collectionActivity/types'
defineProps<{
event: InteractionWithNFT
variant: 'Touch' | 'Desktop'
}>()
</script>