<script setup lang="ts">
import { useViewport } from '../composables/useViewport';
import MobileAnnouncementListView from './MobileAnnouncementListView.vue';

const { embedded = false } = defineProps<{ embedded?: boolean }>();

const { isDesktop } = useViewport();
</script>

<template>
  <MobileAnnouncementListView
    v-if="embedded || !isDesktop"
    :embedded="embedded || isDesktop"
  />
</template>
