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

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