<template>
  <ul class="vimi-list">
    <li v-for="(item,index) in data" :key="index">
      <slot :data="item"></slot>
    </li>
  </ul>
</template>

<script>
export default {
  name: "vimi-list",
  props: {
    data: {
      type: Array,
      default() {
        return []
      }
    }
  }
}
</script>

<style scoped>
@import "../../styles/List/list.css";
</style>
