feat: loading skeleton
This commit is contained in:
parent
1bd710daa4
commit
77a87af46a
4 changed files with 42 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
// @ts-expect-error missing types
|
||||
import { DynamicScrollerItem } from 'vue-virtual-scroller'
|
||||
import type { Paginator, Status } from 'masto'
|
||||
|
||||
|
@ -17,5 +18,10 @@ const { paginator } = defineProps<{
|
|||
/>
|
||||
</DynamicScrollerItem>
|
||||
</template>
|
||||
<template #loading>
|
||||
<StatusCardSkeleton border="b base" py-3 />
|
||||
<StatusCardSkeleton border="b base" py-3 op50 />
|
||||
<StatusCardSkeleton border="b base" py-3 op25 />
|
||||
</template>
|
||||
</CommonPaginator>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue