elk/components/conversation/ConversationPaginator.vue

19 lines
404 B
Vue
Raw Normal View History

2022-11-18 10:37:22 +01:00
<script setup lang="ts">
import type { Conversation, Paginator } from 'masto'
const { paginator } = defineProps<{
paginator: Paginator<any, Conversation[]>
}>()
</script>
<template>
2022-11-24 06:47:14 +01:00
<CommonPaginator :paginator="paginator">
2022-11-18 10:37:22 +01:00
<template #default="{ item }">
<ConversationCard
:conversation="item"
2022-11-23 03:16:31 +01:00
border="b base" py-1
2022-11-18 10:37:22 +01:00
/>
</template>
</CommonPaginator>
</template>