elk/components/conversation/ConversationPaginator.vue

21 lines
411 B
Vue
Raw Normal View History

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