feat: UiLoadMore

This commit is contained in:
2026-02-11 09:24:41 -05:00
parent fc6168e5a4
commit e9d6ca2f96
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<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>