<template>
  <span class="ps-pagination__total">
    {{
      t('ps.pagination.total', {
        total,
      })
    }}
  </span>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { t } from '@present-ui/locale'

export default defineComponent({
  name: 'Total',
  props: {
    total: {
      type: Number,
      default: 1000,
    },
  },
  setup() {
    return {
      t,
    }
  },
})

</script>
