<script setup>
import { ref } from 'vue'
import xtxPagination from '../packages/components/xtx-pagination.vue'

const total = ref(100)
const currentPage = ref(1)
const pageSize = ref(10)
</script>

<template>
  <xtx-pagination
    :total="total"
    :currentPage="currentPage"
    :pageSize="pageSize"
    @current-change="currentPage = $event"
  ></xtx-pagination>
</template>

<style scoped lang="less"></style>
