Files
flowbite-vue/docs/components/pagination/examples/FwbPaginationExampleTable.vue
2023-11-15 11:11:10 +03:00

27 lines
582 B
Vue

<template>
<div class="vp-raw flex flex-col items-center justify-center text-center">
<fwb-pagination
v-model="currentPageA"
:layout="'table'"
:per-page="20"
:total-items="998"
class="mb-2"
/>
<fwb-pagination
v-model="currentPageB"
:layout="'table'"
:per-page="100"
:total-items="750"
large
/>
</div>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
import { FwbPagination } from '../../../../src/index'
const currentPageA = ref<number>(1)
const currentPageB = ref<number>(1)
</script>