<template>
    <album-carousel-item v-if="images" :labelText="labelText" :imgData="imgData" :images="images" :isAchievementImgs="isAchievementImgs"></album-carousel-item>
</template>

<script setup>
import { toRefs } from "vue";
import "./cacheImg.js"
import AlbumCarouselItem from "./albumCarouselItem";

const props =defineProps({
  images:{
    type: Array,
    default: () => [],
  },
  labelText:{
    type: String,
    default: '',
  },
  isAchievementImgs:{
    type: Boolean,
    default: false,
  },
  imgData:{
    type: Object,
    default: () => {},
  },
})
const { images } = toRefs(props);

</script>

<style lang="scss" scoped>
@import "src/styles/index";
</style>
