<template>
 
    <a-breadcrumb class="container-breadcrumb">
      <a-breadcrumb-item>
        <icon-apps />
      </a-breadcrumb-item>
      <a-breadcrumb-item v-for="item in items" :key="item">
        <span class="item">{{ item }}</span>
      </a-breadcrumb-item>
    </a-breadcrumb>

</template>

<script setup>
defineProps({
  items: {
    type: [],
    default() {
      return [];
    },
  },
});
</script>

<style scoped lang="less">
.container-breadcrumb {
  margin: 16px 0;
  :deep(.arco-breadcrumb-item) {
    color: rgb(var(--gray-6));
    &:last-child {
      color: rgb(var(--gray-8));
    }
  }
}

.item {
  cursor: pointer;
}
</style>
