<template>
  <v-menu v-bind="attr">
    <template v-for="(item, key, i) in slots" :key="i" v-slot:[key]="data">
      <slot v-if="key" :name="key" v-bind="data"></slot>
    </template>
  </v-menu>
</template>

<script setup>
import { useAttrs, useSlots } from 'vue'
defineOptions({name: 'ct-button'})
const attr = useAttrs()
const slots = useSlots()
</script>

<style lang="scss" scoped>

</style>