mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 12:19:08 +01:00
18 lines
306 B
Vue
18 lines
306 B
Vue
|
<script setup lang="ts">
|
||
|
import type { PaginatorState } from '~/types'
|
||
|
|
||
|
defineProps<{
|
||
|
state: PaginatorState
|
||
|
}>()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<slot />
|
||
|
<div v-if="state === 'loading'" p5 color-gray-5>
|
||
|
Loading...
|
||
|
</div>
|
||
|
<div v-if="state === 'done'" p5 color-gray>
|
||
|
End of list
|
||
|
</div>
|
||
|
</template>
|