<template>
  <div class="new-releases-page">
    <component :is="viewComponent" :key="componentKey" />
  </div>
</template>
<script setup>
import size375 from "@/views/news/size375/index.vue";
import size768 from "@/views/news/size768/index.vue";
import size1440 from "@/views/news/size1440/index.vue";
import size1920 from "@/views/news/size1920/index.vue";

const { viewComponent, componentKey } = useViewSelector({
  size375,
  size768,
  size1440,
  size1920,
});
</script>

<style scoped lang="scss"></style>
