Files
tehran_taj/apps/user-app/src/components/EmptyState.vue
T
2026-09-09 06:46:27 +03:30

33 lines
650 B
Vue

<!-- Ported from legacy henza_pwa/src/components/empty.vue -->
<template>
<div class="flex justify-center items-center empty">
<Empty description="موردی یافت نشد" :image="image" class="h-[200px] w-[200px] opacity-70" />
</div>
</template>
<script setup lang="ts">
import { Empty } from 'ant-design-vue'
withDefaults(
defineProps<{
description?: string
image?: string
}>(),
{},
)
</script>
<style lang="less">
.ant-empty {
.ant-empty-description {
font-size: 16px !important;
font-weight: 600;
margin-top: -36px;
}
}
.empty {
min-height: calc(100vh - 350px);
vertical-align: middle;
}
</style>