Files
hossein-por-shop/frontend/components/global/Placeholder.vue
T
2025-02-21 23:11:41 +03:30

24 lines
469 B
Vue

<script setup lang="ts">
// types
type Props = {
title: string;
icon: string;
};
// props
defineProps<Props>();
</script>
<template>
<div
class="w-full flex-col flex-grow py-[12rem] gap-6 border-2 border-slate-200 border-dashed size-full rounded-xl flex-center"
>
<Icon :name="icon" size="50" class="**:fill-gray-500" />
<span class="text-lg text-gray-500"> {{ title }} </span>
</div>
</template>
<style scoped></style>