<template lang="pug">
  .flex(class="q-pa-lg flex-center")
    q-pagination(
      v-model="value",
      :max="max",
      :max-pages="maxPages",
      :boundary-numbers="boundaryNumbers",
      :direction-links="directionLinks"
    )
</template>

<script>
export default {
  name: "BasePagination",
  props: {
    value: Number,
    max: {
      default: 1,
      type: Number,
    },
    maxPages: {
      default: 6,
      type: Number,
    },
    boundaryNumbers: {
      default: false,
      type: Boolean,
    },
    directionLinks: {
      default: false,
      type: Boolean,
    },
  },
};
</script>
