<template>
  <Tabs v-bind="$attrs">
    <template
      v-for="(item, key, index) in $slots"
      :key="index"
      v-slot:[key]="scope"
    >
      <slot :name="key" :data="scope"></slot>
    </template>
  </Tabs>
</template>
<script lang="ts" setup>
import { Tabs } from "ant-design-vue";
// import { useSlots, useAttrs } from 'vue'
// const slots = useSlots()
// const attrs = useAttrs()
// console.log(slots, attrs, 'tabsattrs')
</script>
<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "c-tabs",
  inheritAttrs: false,
  setup(props, context) {
    return {};
  },
});
</script>
