2024-08-26 14:36:13 +00:00
|
|
|
<template>
|
|
|
|
<NcEmptyContent class="empty">
|
|
|
|
<slot />
|
2024-09-02 10:37:55 +00:00
|
|
|
<template #icon>
|
|
|
|
<slot name="icon" />
|
|
|
|
</template>
|
2024-09-02 12:06:43 +00:00
|
|
|
<template #name>
|
|
|
|
<slot name="name" />
|
|
|
|
</template>
|
|
|
|
<template #description>
|
|
|
|
<slot name="description" />
|
|
|
|
</template>
|
|
|
|
<template #action>
|
|
|
|
<slot name="action" />
|
|
|
|
</template>
|
2024-08-26 14:36:13 +00:00
|
|
|
</NcEmptyContent>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { NcEmptyContent } from '@nextcloud/vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'EmptyContent',
|
|
|
|
components: {
|
|
|
|
NcEmptyContent,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.empty {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
</style>
|