blob: 14baf138c67cd860412cc4ad295e708eeccc0de6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<template>
<NcEmptyContent class="empty-view" :name="name" :description="description">
<template #icon>
<slot name="icon" />
</template>
</NcEmptyContent>
</template>
<script>
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
export default {
name: 'EmptyView',
components: {
NcEmptyContent,
},
props: {
name: {
type: String,
required: true,
},
description: {
type: String,
required: true,
},
},
}
</script>
<style lang="scss" scoped>
.empty-view {
height: 100%;
padding: calc(var(--default-grid-baseline) * 4);
}
</style>
|