Files
wp-headless/wp-content/themes/moonshine/app/components/ui/UiLoadMore.vue
2026-02-11 09:24:41 -05:00

11 lines
311 B
Vue

<script setup lang="ts">
defineProps<{ hasNextPage: boolean; isLoadingMore: boolean }>();
defineEmits<{ loadMore: [] }>();
</script>
<template>
<div v-if="hasNextPage" class="flex justify-center">
<UButton @click="$emit('loadMore')" :loading="isLoadingMore"> En voir plus </UButton>
</div>
</template>