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

// const slots = useSlots()
// const attrs = useAttrs()
// console.log(slots, attrs, 'pagination')
</script>
<script lang="ts">
import { defineComponent } from "vue";

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