<script setup>
const props = defineProps({
  menuList: {
    type: Array,
    required: false,
  },
  itemProps: {
    type: Boolean,
    required: false,
  },
  iconSize: {
    type: String,
    required: false,
  },
})
</script>

<template>
  <v-btn
    icon
    variant="text"
    size="small"
  >
    <v-icon
      :size="iconSize"
      icon="mdi-dots-vertical"
    />

    <v-menu
      v-if="props.menuList"
      activator="parent"
    >
      <v-list
        :items="props.menuList"
        :item-props="props.itemProps"
      />
    </v-menu>
  </v-btn>
</template>