mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 12:19:08 +01:00
23 lines
666 B
Vue
23 lines
666 B
Vue
<script setup lang="ts">
|
|
import type { mastodon } from 'masto'
|
|
|
|
const { paginator } = defineProps<{
|
|
paginator: mastodon.Paginator<mastodon.v1.Tag[], mastodon.DefaultPaginationParams>
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<CommonPaginator :paginator="paginator" key-prop="name">
|
|
<template #default="{ item }">
|
|
<TagCard :tag="item" border="b base" />
|
|
</template>
|
|
<template #loading>
|
|
<TagCardSkeleton border="b base" />
|
|
<TagCardSkeleton border="b base" />
|
|
<TagCardSkeleton border="b base" op50 />
|
|
<TagCardSkeleton border="b base" op50 />
|
|
<TagCardSkeleton border="b base" op25 />
|
|
</template>
|
|
</CommonPaginator>
|
|
</template>
|